Search code examples
androidandroid-contactsandroid-contentresolverandroid-syncadapter

How to Sync native contacts to my own server?


How to sync mobile contacts to my own server whenever the contact added, edited or deleted. please help me. Thanks in advance.


Solution

  • I get the contact sync project from here.This code work fine.

    If you want more details refer follow the links,

    1.http://udinic.wordpress.com/2013/07/24/write-your-own-android-sync-adapter/ 2.http://developer.android.com/training/sync-adapters/creating-sync-adapter.html

    If you want to sync periodically use background services using Timer.