I developed an Android application. I installed the apk on my tablet.
Now, I want just modify few code lines and one table of my SQLite database, but I don't want reinstall my apk, I want make an upgrade.
How can I build this upgrade mechanism?
I developed an Android application. I installed the apk on my tablet.
Now, I want just modify few code lines and one table of my SQLite database, but I don't want reinstall my apk, I want make an upgrade.
How can I build this upgrade mechanism?
Android doesn't provide a "patch" mechanism. You need to create a new APK and install it over the existing application.
Yes, you can preserve the data in your database. There is a method onUpgrade in SQLiteOpenHelper which you can override to modify your table(s).