Hey AI, Thanks of response, based on your suggestion, I checked my code again, I found an error caused exception.
Thanks again. On Feb 4, 4:33 pm, Al <[email protected]> wrote: > What does the exception say? Are you sure the create table statement > is OK? Try executing the statements manually using adb, cd /data/data/ > <package>/databases/, sqlite3 db-name. > > What about 2 separate statements for the 2 tables? Try running them > separately instead of a single string separating the 2nd create > statement by a ;. > > On Feb 4, 5:53 pm, AndroidGeek <[email protected]> wrote: > > > Hey, > > I want to create a sqlite database with more than 2 tables. I tried to > > create a loop to run sql in SqliteOpenHelper: onCreate method. > > Exception raised, and not table generated in db. I also try to create > > table statements separated by ";", only first table is created. > > Please help me how to create more than one tables in sqlitedatabase. > > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

