Retrieve Contact Phone Number From URI in Android
I found the answer. The reason I was not getting any rows from the cursor was because I was using the line ContactsContract.CommonDataKinds.Phone.CONTACT_ID “The id of the row in the Contacts table that this data belongs to.” Since I was getting the URI from contacts table anyways — this was not needed and the following … Read more