File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes ContactsContract.CommonDataKinds.Emal.Content_Uri Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "ContactsContract.CommonDataKinds.Emal.Content_Uri" Watch "ContactsContract.CommonDataKinds.Emal.Content_Uri" New topic


Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
Hello Pals

I was reading documentation from for the "ContactsContract.CommonDataKinds.Emal.Content_Uri" and the following is written

"The content:// style URI for all data records of the CONTENT_ITEM_TYPE MIME type, combined with the associated raw contact and aggregate contact data"

I am not sure that what i am understanding from it is correct.

What i infer is as follows: -

I think it says that when we use the URI : ContactsContract.CommonDataKinds.Email.CONTENT_URI , it will provide all rows from the "DATA" table where MIME_TYPE is equal to ContactsContract.CommonDataKinds.EMail.CONTENT_ITEM_TYPE . Moreover , it applies inner join with the "RAW - Contacts" table . I am not sure about , "aggregate contact data".

Please let me know, whether i am getting it right ???

I agree. Here's the link:
subject: ContactsContract.CommonDataKinds.Emal.Content_Uri
jQuery in Action, 3rd edition