Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync application data between iOS and Android [closed]

There are applications that work on both iOS and Android (both Phone and Tablet), and they manage to sync the data across different devices.

  1. Are there any frameworks or libraries that provide this sync functionality?
  2. If not, what are the different options for implementation?
  3. Can iCloud be used for syncing application data across Android and iOS devices?
like image 591
Mustafa Avatar asked Jul 05 '12 10:07

Mustafa


People also ask

Can you sync data from an iPhone to an Android?

iCloud - After syncing your iPhone data with iCloud, you can transfer it to your Android using Smart Switch. Note that this method will not transfer Messages or iTunes Music and Videos. USB cable - You can directly connect your iPhone and Android using your iOS cable and a MicroUSB to USB adapter.

What happens when you sync devices?

When you turn on sync, all your profile information, like bookmarks, history, and passwords, automatically saves to your Google Account. You can find your Chrome info on all your devices. If you don't want to sync everything, you can change what info to save. Sync.

Can I use Move to iOS after setup?

The Move to IOS app is only available on Android, so you can not put it on your iphone to transfer the data afterwards.


2 Answers

Are there any frameworks or libraries that provide this sync functionality?

You can check out OpenMobster Cloud Platform. The Sync service does secure replication of data between Android and iOS devices. All you have to do is develop the Java Sync Channel on the Cloud Side and use the Device API on the device side to access your data. Here is a link to the project: http://openmobster.googlecode.com

Full Disclosure: I am the Chief Engineer of the OpenMobster platform

like image 135
openmobster Avatar answered Sep 28 '22 06:09

openmobster


Are there any frameworks or libraries that provide this sync functionality?

No. There are no frameworks or libraries that provide the kind of cross-platform sync that iCloud provides for Apple devices.

If not, what are the different options for implementation?

  1. Don't use the sync mechanism at all, and use web-services instead. This might be a good solution for some cases.
  2. Use SQLite database in iOS and Android applications, and implement a sync solution on your own. Some of the challenges that you'll face if you choose to implement a custom sync solution are following:
    • Provide a registration mechanism, to use the cloud/server side services
    • Reading and writing data to/from the server/cloud
    • Detecting and resolving conflicts (i.e. merge conflicts)
    • Offline access to the data, and handling situations when device is not connected to any network
    • In iOS, you won't be able to use Core-Data (that makes development relatively very easy), so you'll have to take care of displaying data efficiently, optimizing the data access, etc

Can iCloud be used for syncing application data across Android and iOS devices?

No. iCloud is only for Apple devices (as of now, July 2012).

like image 25
Mustafa Avatar answered Sep 28 '22 06:09

Mustafa