6

I just stuck with one question , what is difference between "ContactsContract.CommonDataKinds.Phone.CONTENT_URI" and "ContactsContract.Contacts.CONTENT_URI"?

Haresh Chaudhary
  • 4,390
  • 1
  • 34
  • 57
lakhani
  • 128
  • 2
  • 13

2 Answers2

-1

ContactsContract.CommonDataKinds.Phone.CONTENT_URI

  • A data kind representing a telephone number

ContactsContract.Contacts.CONTENT_URI

  • Constants for the contacts table, which contains a record per aggregate of raw contacts representing the same person.
Haresh Chaudhary
  • 4,390
  • 1
  • 34
  • 57
-1
android.provider.ContactsContract.CommonDataKinds.Phone

A data kind representing a telephone number.

 ContactsContract.CommonDataKinds.Phone.CONTENT_URI

content:// can be used to access all data records CONTENT_ITEM_TYPE MIME type, combined with the associated raw contact and aggregate contact data.

ContactsContract.Contacts.CONTENT_URI 

Constants for the contacts table, which contains a record per aggregate of raw contacts representing the same person. you can use update deletion etc in this

Athul Harikumar
  • 2,501
  • 18
  • 16