Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello :)

I have an application that uses SQLite database

but how to publish the database when I create .apk file ?

should I put it on some server ?

any advice ?


thank you all :)
Posted

1 solution

You can
Create a exported flat file,
Ship it as a raw file in your apk package,
Run a import on first time load.

There is a tutorial that may help
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900