Update apk file on Google Play

I want to publish an Android app that I developed, but with little concern.

The application will load the database file (or sqlite3 file) . If updates appear in the future, and these updates will be aimed only at the applicationwithout a database structure , I want to allow users to save saved records in their sqlite3 files.

So what is the best way to send updates? Compile apk files only with new updated code and without database files? Or is there another suggestion?

PS: I do not work with Java and Eclipse, but with python for Android and the Kivy platform, which is a great new way to develop applications for Android.

+4
source share
2 answers

if you are using local sqlite, then you need to inject the database file into the application as a failure, as this means that there is no database, if there are version numbers in the update database where it cannot update the database, the version number is the same previous app updates

0
source

I had the same problem when I started my application, but since kivy has no solution for this, I tried to create a directory outside of my android application directory using a simple one os.mkdir('../##'), and I put all the files there. Hope this helps!

0

All Articles