I am developing an Android app.How can i update the data in my app using web server?
Initially,i will provide the data in my application itself.But when my data becomes outdated,how will i update that data in the application itself?Is there any way to do this using internet?
I am developing an Android app.How can i update the data in my app
Share
This is quite general question, so there are plenty of ways to update the application data.
I assume that you have a web service and it provides the necessary content of your application.For example, If the web service sends you the content with json format then you need to parse and save the data to use later when you don’t have internet connection.This is just an example to make you aware about one of the simple way.
And If you are asking about the data you put in your application when you create the application, let’s say the data in assets folder, you cannot over write the data there. If you want to use the updated the data from internet, then you need to save it somehow. You can keep the file sent from server directly or you can parse the data and create database to use it.