B blexnmedia Member Licensed User Longtime User Feb 28, 2012 #1 Hello Erel, I'm going to start working on a project that will have a db locally and I want it to be synched to a remote server. Any update I make locally will also update the remote db. I need the code to check if there's a network connection, if not, work locally, and when a connection is available, synch the db with the remote one. I'm new to this and this will be my first real mobile project - are there any sample codes available that you can send me to accomplish this? Thanks.
Hello Erel, I'm going to start working on a project that will have a db locally and I want it to be synched to a remote server. Any update I make locally will also update the remote db. I need the code to check if there's a network connection, if not, work locally, and when a connection is available, synch the db with the remote one. I'm new to this and this will be my first real mobile project - are there any sample codes available that you can send me to accomplish this? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2012 #3 The tutorial linked in the above post will help you with communicating between the server and the device. You will also need to implement a synchronization solution. You can for example add a time column to all records and then when you connect the device to the server you should use this time column to synchronize the new records. Upvote 0
The tutorial linked in the above post will help you with communicating between the server and the device. You will also need to implement a synchronization solution. You can for example add a time column to all records and then when you connect the device to the server you should use this time column to synchronize the new records.