Reputation: 141
I'm building a mobile app that just need to display some datas on a Map. For this I can surely use SQLite and it will make my app much faster.
But I'm concern with some issues such as :
Thanks for your answers.
Upvotes: 0
Views: 107
Reputation: 3711
Will it happens that my db get erased for no real reason ?
No your db will not get erased untill app is uninstalled or app data will be cleared.
If one day I have more locations an update for the sqlite database pushed to the store will it solve it for me ?
Use Sqlite if you have static data which will not be changed. Because if you want to change the data you need to update the complete apk which is not recommended.
There are lot of online databases available which sync your data as per your need.
You can use couchbase on server and couchbaselite for android which does the above mentioned task of syncing
Upvotes: 1