I have a big database that I use on my website and I would like to use it for an android application without an Internet connection.
My database can export to .db file. How should I do to use this file for my android app.
Regards
I have a big database that I use on my website and I would like to use it for an android application without an Internet connection.
My database can export to .db file. How should I do to use this file for my android app.
Regards
Keep copy of your database in asset folder, copy that database in /data/data/your.package.name/databases while you loading your application first time.
if your database is larger than 1MB Divide the database in small parts.
ex: if size = 8 MB make 8 parts of 1MB than join that parts problematically while copying.