是否有可能无需编写同步适配器,身份验证和同步服务,自定义字段添加到一些接触,用定制MIMETYPE(如Facebook的个人主页)?我不希望添加同步功能,我的应用程序。
Is it possible to add custom field to some contacts, with custom mimetype (like facebook profile) without writing sync adapter, authenticator and sync service? I do not want to add "synchronization" functionality for my application.
长期的研究后,我认为我找到了这个问题的答案。
After long research I think that I found an answer to this question.
有没有办法不写一些同步服务code,身份验证和syncAdapter创建自定义点击的,可见的领域。
There is no way of creating custom clickable and visible fields without writing some Synchronization service code, authenticator and syncAdapter.
下面是一个示例code这是增加新的账户账户和同步,并添加自定义字段,这可以从目前的项目的一些活动被视为新联系人: https://github.com/nemezis/SampleContacts 。
Here is sample code which is adding new account to "Accounts and synchronization", and adding new contact with custom field, which can be viewed in some activity from current project: https://github.com/nemezis/SampleContacts.