How can i find out the name of the database file?

In my java code, I did this:

Uri CONTENT_URI = Uri.parse("content://com.mycompany.app/test");
 final ContentResolver cr = context.getContentResolver();
Uri result = cr.insert(CONTENT_URI ,
               values);

Can you please tell me what is the name of the DB file?




On 4/16/09, Marco Nelissen <[email protected]> wrote:
> On Thu, Apr 16, 2009 at 6:08 PM, Meryl Silverburgh <
> [email protected]> wrote:
>
>>
>> Hi,
>>
>> I am trying to dump the content of sqlite via adb shell command.
>> Here is what i did:
>>
>> $ adb shell
>> * daemon not running. starting it now *
>> * daemon started successfully *
>>
>> # sqlite3
>> SQLite version 3.5.9
>> qlite> .databases
>> seq  name             file
>> ---  ---------------
>>  ----------------------------------------------------------
>> 0    main
>> 1    temp             /sqlite_stmt_journals/etilqs_S9bmllRuggSwGfp
>> sqlite> .schema main
>> sqlite> .tables
>>
>>
>> My questions I try both 'tables' command and dump the schema for
>> 'main', I can't find my table.
>> Can you please tell me what am I doing wrong?
>
>
> You didn't specify a database file when you launched the 'sqlite3' command.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to