Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How android application synchronize data with backend server?

Tags:

android

Backend server has tables, and the android client have the same tables. Are there any way to synchronize data between them?

like image 237
Tony.Lu Avatar asked Nov 14 '22 09:11

Tony.Lu


1 Answers

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.

like image 166
mayur rahatekar Avatar answered Nov 16 '22 03:11

mayur rahatekar