The content provider should create the tables as soon it's installed.
On Apr 10, 8:54 pm, Satyajit <[EMAIL PROTECTED]> wrote:
> Hi,
> I am not sure if this has been asked before.
>
> I am experimenting with the sample NotePad Application since it is
> implemented as a content provider because I thought that the
> application I would develop needs to be a content provider.
>
> My question is how and when exactly are database and tables created
> from launching the application? I do not see any explicit call from
> the NotesList class to the NotePadProvider.
>
> Also, I have tried to delete the table notes from the sqlite shell and
> I got a DB exception and when I put the table back in the error was
> gone. So should the table be already present for using a content
> provider?
>
> If that is the case and I want my application to create a content
> provider, how should I go about it? I am worried because I have read
> that judges will d- -clean on the emulator before testing the
> application.
>
> Thanks,
> Satyajit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Challenge" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-challenge?hl=en
-~----------~----~----~----~------~----~------~--~---