[android-developers] SQLite setup
Hi,
I need to use a SQLite database in my app (eventually create a Content Provider) but I'm not really sure how to setup that database. All examples I saw, the database is created "on the fly" by issuing a SQL command on the event onCreate of SQLiteOpenHelper and populating it.
I need to feed the database with almost 400 records to start but it seems too messy to create a 29Kb string to populate the database. Isn't there a more elegant way to do it that won't overload the system (I tried to create a resource with that string...).
Any thoughts?
Thanks,
Pedro Duque
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home