Need some help with a join on ContentProviders

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-05-16T16:49:18Z Indexed on 2010/05/16 16:50 UTC
Read the original article Hit count: 254

The documentation says

Columns from the associated aggregated contact are also available through an implicit join.

What's that implicit join?

`Join with Contacts`

String  LOOKUP_KEY  read-only   See ContactsContract.Contacts
String  DISPLAY_NAME    read-only   See ContactsContract.Contacts
long    PHOTO_ID    read-only   See ContactsContract.Contacts.
int IN_VISIBLE_GROUP    read-only   See ContactsContract.Contacts.
int HAS_PHONE_NUMBER    read-only   See ContactsContract.Contacts.

I am querying ContactsContract.Data, and I need to access as where clauses on the query IN_VISIBLE_GROUP and HAS_PHONE_NUMBER, that are defined in ContactsContract.Contacts.

How can I make this possible?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk