I am trying to write my own sync adapter for Android. I dig through the Sample Sync Adapter from the SDK, but it is terribly undocumented. I can make contacts in the contacts application. But they were not able to edit them or create new ones.
It is very difficult to find information on how to get your own type of account, specified for creating default contacts in the application, or making them editable. I do not want to add any custom fields just stΓΌff and data already supported by android.
Can someone point me to a tutorial or examples of how to integrate my synchronization adapter into the default contacts application (e.g. exchange synchronization)?
- What you need to add to AndroidManifest.xml
- What you need to add to contacts.xml
- What you need to add to syncadapter.xml
- Is there any code that needs to be added to work?
By the way:
I don't care about Android versions lower than ICS. I read everywhere that the 2.x app does not support this, but 3.x and higher. 2.x is disconnected from the table, so I'm looking for an ICS way to do this.
Thanks at Advance
source share