java - How to get an URI array of all Android Contacts -


i aware android contact picker gives uri of selected contact.

the uri looks this: content://com.android.contacts/contacts/lookup/0r7-2c46324e483c324a3a484634/7

i need uris of contacts (something 'uri array') in phone. can me out on doing this?

you can contacts following query : cr.query(contactscontract.contacts.content_uri, null, null, null, null); cr contentresolver.

have here : get contacts.


Comments