That's your content provider ... it might be backed by a DB, but maybe not. Did you go through the Notepad tutorial? http://developer.android.com/guide/tutorials/notepad/index.html
It's great and covers both topics. For now: adb shell ls /data/data/<yourapppackage>/databases On Fri, Apr 17, 2009 at 6:52 AM, Meryl Silverburgh < silverburgh.me...@gmail.com> wrote: > > 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 <marc...@android.com> wrote: > > On Thu, Apr 16, 2009 at 6:08 PM, Meryl Silverburgh < > > silverburgh.me...@gmail.com> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---