I’m integrating with Android Contacts similarly to WhatsApp/Telegram/Signal: my app creates raw contact data rows so users can “Call”, “Message”, “Video call” from the Contacts app.
I can successfully add rows under an existing contact using a custom MIME type, and they show up in the Contacts app as tappable actions that launch my activity.
However, on popular apps (WhatsApp/Telegram/Signal/Viber), the Contacts UI also shows a system icon next to each row (phone icon for call, chat bubble for message, camera for video). For my rows, Contacts shows no icon, only text.
I haven’t found documentation describing how Contacts chooses those icons or how an app can make Contacts display the appropriate call/message/video icons for custom rows.
Here's a screenshot showing the icons next to the other apps but no icon next to my app on the top:
