How to choose a unique contact in android
Hi guys, I am stuck on how can I select only one contact that is repeated in the contact list. For example, if a user has a number (xxxx-xxxxxxx) twice in their contact list, I would like to select it only once. In short, pass any method GROUP BY NUMBER
in the request. I am using below method to select contacts
Cursor contacts = cr.query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, " DISPLAY_NAME ASC");
+3
Ali
source
to share
No one has answered this question yet
See similar questions:
43
4
or similar:
3606
3295
3288
2609
2510
2284
2097
1858
1844
6