Including in the APK an SQLite database

5

Is it possible to include the application database in the APK installation? I already have all the necessary records for the operation of the application and would like to include it during the installation.

    
asked by anonymous 24.11.2014 / 22:39

1 answer

1

You can export the database as sql and put it in the assets folder. Be careful that the data does not repeat (data in the current database + sql data) in your application.

Here's a nice walkthrough: link

    
25.11.2014 / 01:08