Web Service for Android app [closed]

1

I have a question. Assuming I have a web service saving the data in MySQL, this service is responsible for feeding an Android app. The user accessing the app will sync the data to the device's local bank. If the user makes changes and there is no network signal the data will be saved locally and once it is online it will be synchronized (sent) to the web service. How to do this? Once the bank accepted by the android device is SQLite and the web service bank will be in MySQL?

    
asked by anonymous 19.04.2016 / 16:46

1 answer

1

I do not see how this would give you an incompatibility problem. The application would remove data from SQLite transforming into objects (Java), these objects would be sent to the web service that would receive them and save it to MySQL.

Speaking briefly, Java will query in SQLite and transform what you have into objects. These objects will be sent to the web service via HTTP request. The web service will pick up these objects and save them to MySQL.

Anything, better expose where you find it difficult to see that it will work to improve the response.

    
19.04.2016 / 17:48