.tables is the sql instruction to retrieve all the tables in the db. try executing it asa sql statement with rawQuery.
On Tue, Jul 28, 2009 at 12:45 PM, [email protected] < [email protected]> wrote: > > Hi all, > I'm working at an application about SQLite database. I have > inserted some table in an database file. But I don't know how to get > all the tables' name using code. For example, I defined a database > object > SQLiteDatabase dataBase = SQLiteDatabase.openOrCreateDatabase( > getDatabasePath("Mydatabase"), null); > and how can I get all the table names stored in the database file > "Mydatabase". Counld anyone give me some code to help me? > Thank you in advance! > > > -- Regards, Sujay Joan Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html> - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

