3

Do you know if the Android SDK provides some classes, interfaces or methods to help developers to create a mechanism in order to synchronize application data between the phone and a third-party server ? Or should we build this mechanism from scratch ?

I've heard about C2DM for Push notification but it is available only from Android 2.2 and my application must support Android 2.1.

Kara
  • 6,115
  • 16
  • 50
  • 57
Sly
  • 2,105
  • 5
  • 22
  • 28

2 Answers2

4

Android does synchronization between data stored locally in a content provider and a remote service by means of a SyncAdapter.

Here you have a full example and some docs.

mgv
  • 8,384
  • 3
  • 43
  • 47
0

It s been a while but I couldnT find a lot of info on Sync management in Android nowadays either. I wanted to add another link. :

Community
  • 1
  • 1
Orkun
  • 6,998
  • 8
  • 56
  • 103