3
I am developing a system that integrates a Mysql database with an Android application (through a webservice). I can already make connection, pass data, change them in the database through the App and things like that.
My problem is the moment I need to replicate between the bases.
Example: If I have already uploaded a list in the app with the name and number of a customer and need to change the number there in the bank, this change does not come to the app. Unless I recreate the bank in the app. (I hope I’m making myself clear).
I searched but found nothing useful, I just wanted a hint of how to do, if someone has done something similar, simply the 'best way' to solve it.
You can help: http://answall.com/a/44549/6077
– ptkato
Would your problem be that the changes in your remote bank are not replicating in your app or the other way around? That wasn’t very clear.
– Tin Megali
You do not need to recreate the database on android to update data. Data need to get to Android somehow. It can be a txt with Inserts, or a . sqlite file for reading and processing. Here we use manual import routines. We use Asynctask to download the data, via FTP, or HTTP. Using Sqlitestatements for bank operations, picking up the cursor from the received file and updating at the base of the APP.
– Celso Marigo Jr