Answer the question
In order to leave comments, you need to log in
How to implement database update on android from server?
Please, what is the best way to do it? We have an application and when a button is pressed, we download a database (or perhaps only a table) and insert it into the application (or not even download, but simply insert a table into our database), as well as update the database if it changes on server. You also need to implement the flood, on the server, database. How to implement it on the server and on android? Or just upload files to the server and then download in the application?
Answer the question
In order to leave comments, you need to log in
If your database is rarely updated, entirely and there are already tools for this, then you can upload the file to the server.
But the classic solution is to make a REST api that will send content to a mobile application. At the same time, within the framework of the api, you can make versioning, and give not all the data, but only what has changed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question