Take the 2-minute tour ×

I am doing a program that takes all contacts from phone and sim card. There is an option to get only contacts on phone and not Google contacts (or similar).

I tried with ContactsContract.Contacts.CONTENT_URI;. This works but get all contacts also Google contact and Facebook contacts.

How do I do it?

share|improve this question
add comment


Your Answer



Browse other questions tagged or ask your own question.