简体   繁体   中英

Update Android App Database

So I got a simple app with a sqli database,

the app just shows the content which is saved in the database.

So if I am correct the sqli database is saved inside the app (apk),

what I am questioning myself is if I do have repeatedly upload the app / apk if I change, delete or add something in the database.

If yes is there a way around this, to like get the data from a database without repeatedly uploading the application if data has changed.

Yes, if you change something in the database you need to upload the apk, because the database is inside the apk. The alternative would be to put the database on a server. Then you would write a back end for your app in your language of choice, and this code would access the database. You could also use a Back End As a Service. Google BAAS to get info on the available options.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM