Hi all,

I'm creating an application and I'm wondering what should I do with
the DB.
The DB will contain all the information. The user will interact with
the DB to make query and display information.
By the action of the user, small information will be added to the DB.

For example, in my DB I have all the continents + countries + major
cities in the world.
The user can see a list of countries by searching by "continent". The
user can set a city as "visited" and enter a date.

Method 1 : should I create a sqlite DB and import it ? (http://
www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/)

Method 2 : should I create the DB inside the code and execute many
"insert into"... (http://www.anddev.org/working_with_the_sqlite-
database_-_cursors-t319.html)

With method1 : do I have "write" access?

With method2 : it will take time to execute all the "insert into",
this will happen only at the installation of the apps, or at each time
the user restart the apps?

Is there another way ?
Thanks all

-- 
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