Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android contacts custom field

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.

like image 974
nemezis Avatar asked Dec 09 '25 23:12

nemezis


1 Answers

After long research I think that I found an answer to this question.

There is no way of creating custom clickable and visible fields without writing some Synchronization service code, authenticator and syncAdapter.

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.

like image 167
nemezis Avatar answered Dec 12 '25 11:12

nemezis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!