Set call / message / video icons for custom raw contact actions shown in Contacts app


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:

![Screenshot](https://i.sstatic.net/YjAfycux.png "No icons next to my app")

1
Jan 28 at 11:21 AM
User AvatarPetrakeas
#android#android-contacts

No answer found for this question yet.