MayoMan
MayoMan

Reputation: 4917

Keeping android client in sync with server

We have an android app which allows a user to download data from a GAE back end and also send data changes/user input back to the GAE. All data from the server is also copied to the local DB on the android client. What we are trying to figure out is the best practice for tracking and sending changes the user makes when a connection to the GAE is not available. Our plan is to have the client make the updates to the local DB and if the server is unavailable to send these changes over to it then they are marked as Out of Date on the client. When the server connection becomes available again the changes will then be sent over asynchronously. Can anyone see any problems with this approach or know of a better way to do it?

Upvotes: 2

Views: 1107

Answers (1)

Gal Ben-Haim
Gal Ben-Haim

Reputation: 17803

Please, take a look at http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html for best practices of syncing remote data.

Upvotes: 3

Related Questions