Android: Find a contact by display name

Why do I need to find a contact by display name?

In my app, I wanted to open a specific contact and add another phone number to it. I didn’t have the contact id of the contact, only the display name.

Get the first contact with the name “John Johnson”

Leave a Reply

Your email address will not be published. Required fields are marked *