I am working with Android Contact ContentProvider. I have a Phone Number and I need to get the URI of the Photo of the contact associated with thi
Here's the code from Android Documentation.
Uri contactUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId); return Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo.CONTENT_DIRECTORY);