Tim Moores wrote:Generally the app would create the DB programmatically. See http://developer.android.com/guide/topics/data/data-storage.html#db for links to two example apps that show how to do that.
Tim, thanks for the answer, but it's still not clear!
I understand the use of onCreate() and onUpdate(), but I have to insert in the DB about 500 lines.
I can have and xml and read it in the onCreate(), ok; but, also, I can use a webservice and read it once in the same method.
Both of these are working, but which is the "best practice" ? (if there is one!)