I have an application that uses a SQLite database. How do I publish the database when I create .apk file? Should I put it on some server?
Asked
Active
Viewed 840 times
3
-
http://stackoverflow.com/a/9109728/265167 – Yaqub Ahmad Feb 26 '12 at 08:49
1 Answers
1
You can create a exported flat file, ship it as a raw file in your apk package. And then run a import on first time load.
Edited http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

Siddharth
- 9,349
- 16
- 86
- 148
-
is there any tutorial tells how to do that in steps ? thanks :) – Hamza M. S. Abazeed Feb 26 '12 at 09:36
-