Reputation: 4917
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
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