Reputation: 187
Backend server has tables, and the android client have the same tables. Are there any way to synchronize data between them?
Upvotes: 5
Views: 2401
Reputation: 4460
From your question I understand that There are tables on mobile and server both are same. Now you want to take a data from server from mobile and from to Server. Use upload and Download. When your application get started download the data from the server Process on that data after that upload that data to the server. so that both your mobile and server db remain updated.
for upload and download you can use following links:
http://blog.sptechnolab.com/2011/02/10/android/android-connecting-to-mysql-using-php/
http://www.vogella.de/articles/AndroidJSON/article.html
You have to use the JSON.
Upvotes: 1