My application uses a database which it gets as a .sqlite file from a webserver at runtime. This database can change, hence the need to get it at runtime. I have seen this link -http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ but it assumes that we are preloading the application with the database.
How do I download this file and use it in Android at runtime?
My application uses a database which it gets as a .sqlite file from a
Share
Please see this link for an explanation on how to download a file from the internet. It uses an image, but its the same process for any file.
After that you can follow this question which shows how to import the file (linked by Peter Knego).