Difference between android terms?

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

+6
source share
2 answers

ContactsContract.CommonDataKinds.Phone.CONTENT_URI

  • A data type representing a phone number

ContactsContract.Contacts.CONTENT_URI

  • Constants for a contact table that contains an entry for a collection of raw contacts representing the same person.
-1
source
 android.provider.ContactsContract.CommonDataKinds.Phone 

A data type representing a phone number.

  ContactsContract.CommonDataKinds.Phone.CONTENT_URI 

content: // can be used to access all CONTENT_ITEM_TYPE MIME data records, combined with associated data with a raw contact and aggregated contacts.

 ContactsContract.Contacts.CONTENT_URI 

Constants for a contact table that contains a record for a collection of raw contacts representing the same person. you can use uninstall updates etc. in that

-1
source

Source: https://habr.com/ru/post/923623/


All Articles