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 <
and...@mackenzie-serres.net> wrote:
> The contacts content provider is q
Use ContactsContract.Contacts.CONTENT_URI
or ContactsContract.Contacts.CONTENT_LOOKUP_URI instead of direct access.
Also, don't forget to request permission
See
https://developer.android.com/reference/android/provider/ContactsContract.Contacts.htmland
https://developer.android.com/reference/andro
2 matches
Mail list logo