Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data synchronization between android and PC?

Tags:

android

I am trying to develop a PC application in java to do synchronization of data between PC and android. I want to know the best way to do it. My android app has a database and I want to sync it with a PC application. Can anyone help me with a way to do it?

like image 300
Anu Avatar asked Feb 05 '26 22:02

Anu


1 Answers

You can take a look at the open source project, OpenMobster's Sync service. You can do the following sync operations

  • two-way
  • one-way client
  • one-way device
  • bootup

Besides that, all modifications are automatically tracked and synced with the Cloud. You can have your app offline when network connection is down. It will track any changes and automatically in the background synchronize it with the cloud when the connection returns.

It also supports sync across multiple devices like iCloud does.

In your case,

You would develop a Java Channel and expose the data from the PC via the Sync Channel. On the Android side you will be able to access this data via a Sync API. All your changes are auto tracked and synchronized in both directions.

You do not have to deal with developing a Socket Server or doing the low-level sync stuff yourself. You stay at a high level dealing with data

Here is a link to the open source project: http://openmobster.googlecode.com

Here is a tutorial to understand some of its workings: http://code.google.com/p/openmobster/wiki/AndroidSyncApp

like image 145
openmobster Avatar answered Feb 09 '26 05:02

openmobster



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!