Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync Android phone with a third-party server

Tags:

android

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.

like image 402
Sly Avatar asked Jan 30 '26 05:01

Sly


1 Answers

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.

like image 130
mgv Avatar answered Jan 31 '26 17:01

mgv