android - Ship an application with a database -


If your application requires a database and it comes with data created, then the most What's the best way? What should I do:

  1. Improve the SQLite database and include it in .apk

  2. Include it with SQL commands, and does it make the database and insert data on the first use?

I see that there are drawbacks:

  1. Probably too long time It may seem to create and generate databases on the device.

Any suggestions? Documents regarding any issue will be highly appreciated.

I have found a way to do this by resigning the blog into an article titled Basically You prefer your database, put it in your property directory in your APK and on the first used copy in the "/ data / data / YOUR_PACKAGE / database /" directory.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -