Android-ContactPicker
Android-ContactPicker copied to clipboard
How to tell if Contact has HOME or WORK email?
When some contacts don't have WORK email address. The following will return the same email address.
Log.d("Contact", "Home="+contact.getEmail(ContactsContract.CommonDataKinds.Email.TYPE_HOME)); Log.d("Contact", "Work="+contact.getEmail(ContactsContract.CommonDataKinds.Email.TYPE_WORK));
Is there a why to tell if the contact has HOME or WORK email?