I get the contact details for this phone number using the following code:
Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNum));
Cursor cursor = context.getContentResolver().query(uri,null,null,null,null);
There is a case where the cursor contains 3 entries with the same phone number and display name.
Can you offer an explanation or a possible reason for this?
Many thanks.
Asahi source
share