I\'ve got an ImageView which I\'m displaying a contacts picture using a Uri which always looks similar to this:
content://com.android.contacts/contacts/34
Possibly by using ContactsContract.Data.PHOTO_ID. If it doesn't have a value, then there is no photo.
ContactsContract.Data.PHOTO_ID