Functions of a cellular cellular adapter for editing contacts

I am developing a sync adapter. I found this: http://groups.google.com/group/android-developers/msg/85f9304dfcc4e284

In this forum, a Google employee reports:

On Eclair’s Android releases, through integrated Gingerbread editing, third-party contacts are poorly supported. The trick is to insert row data, "Edit in MyApp", which will lead the user to your application and then your application will then provide the editor. Also in Contacts to create new contacts on third-party accounts. We fixed these issues at Honeycomb. Now you can specify two actions in your xml metadata file: one for creating new contacts and one for editing existing ones and voila! - you have seamless integration.

I can not find documentation for these new features. Can someone tell me where can I find it?

Thanks

+1
source share
1 answer

As they say, they look completely undocumented. It is best to see the source code for ICS.

Here is the corresponding source file in 4.0.3, which seems to convert the android.provider.CONTACTS_STRUCTURE metadata declaration into a useful object.

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/4.0.3_r1/com/android/contacts/model/ExternalAccountType.java

Note that there is support for the <EditSchema> in your metadata, which (I suppose) is the key to third-party integration.

+4
source

All Articles