Question

I want to push new data to the apps on user's device after a couple of days, like news update service. It's NOT APK update. Where do I get some clues to start with? tks in advance

(sorry if this question is dumb, but why can't I search for it on stackoverflow, I must miss something?).

Was it helpful?

Solution

You can accomplish this in many different ways. One option is to design your app to periodically query a server-side REST API and download new information in an JSON/XML format. That information can be stored in a local SQLite or flat file database on the device. You could also integrate with Google's Cloud Messaging service to send push notifications to the device. When your application receives a push message it could spawn a new background process to download any updated content from your server.

OTHER TIPS

You can use push notification (search for c2dm) which will notify users whenever, content/data is updated on server. Whenever, android application will receive push message from server, it will update the local database (say, news database in your case) from server.

Hope it is helpful information for you.

Just upload the new app, with the same key that you used it previously and also increment the version code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top