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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.