Thanks Douglous and Andrew,

What I am actually looking for is *account_id* based on *account_name* and *
account_type, *and this info is only available in accounts table.


On Wed, Oct 2, 2013 at 11:24 PM, Andrew Mackenzie <
[email protected]> wrote:

> The contacts content provider is quite complex, with three "tables" for
> contact' raw contact and data. I suggest you read the long explanation of
> it in developer.android.com there the answers to your questions are
> provided, with a number of constants for Uris and also field names.
>
> BTW: be sure to filter only VISIBLE group contacts in the query or you
> will get contacts not visible to the user in their phone.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to