I am currently writing an application that allows you to expand standard Android contacts / phonebook. The user can add some information / content related to a specific contact. I want the standard phone book to have a link to my application for each contact that has additional data. For example, WhatsApp can do this. If someone in your phone book has a WhatsApp account, a small WhatsApp icon is displayed in the phone book next to the contact. If you click on the icon, WhatsApp will automatically start a chat with this particular person.
My question is now, how can this be achieved? If someone can point me in the right direction, that would be great.
I think this should be somehow done with ContentProvider. I have already indicated ContentProviderbut I don’t know how to tell the Contacts application that it exists or where I need to register this provider.
source
share