views:

1443

answers:

4

The press release of Android 2.0 states that the new release supports sync adapters so that emails and calendars cannot only be synced with gmail and exchange. However, there is no information available online how to write such a sync adapter. Has anyone tried it and some example code available?

A: 

I'm still learning myself, but this thread should help you understand a little bit.

http://www.mail-archive.com/[email protected]/msg64769.html

Thomas
A: 

Here is something that I found

Implements a SyncAdapter for Contacts

Not sure if this is what we need to help us roll our own contacts sync service though.

A: 

This is about the implementation of the last.fm sync adapter: http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/

white_gecko
A: 

This article, http://ericmiles.wordpress.com/2010/09/22/connecting-the-dots-with-android-syncadapter/, is a great, albeit brief overview of creating a sync adapter and getting it to play nice within the Android framework.

Jerry Brady