Re: [android-developers] Retrieving Information from the ContactsContract API

2012-01-12 Thread TreKing
On Wed, Jan 11, 2012 at 6:48 PM, Brad Kinnard bradkinn...@gmail.com wrote: I have found a few posts here in the general area, but would really love someone just to break it down as to how I can retrieve the contact name, email and phone number, and store those in variables. Getting those

Re: [android-developers] Retrieving Information from the ContactsContract API

2012-01-12 Thread Kristopher Micinski
I have to agree that the documentation on ContactsContract isn't bad, but it's a lot to understand, and it's not simple. It's pretty unclear about the distinction between the _ID and whatever the other specific user thing is. It's not something that takes more than a day or so to figure out, but

Re: [android-developers] Retrieving Information from the ContactsContract API

2012-01-12 Thread A. Elk
I think that the interface (and its documentation) is complex because the provider is designed to handle a large number of current and future situations. There's more than one email row for a raw contact because a contact can obviously have multiple email addresses. All of the emails,

Re: [android-developers] Retrieving Information from the ContactsContract API

2012-01-12 Thread Kristopher Micinski
On Thu, Jan 12, 2012 at 9:19 PM, A. Elk lancaster.dambust...@gmail.com wrote: I think that the interface (and its documentation) is complex because the provider is designed to handle a large number of current and future situations. Definitely! There's more than one email row for a raw

[android-developers] Retrieving Information from the ContactsContract API

2012-01-11 Thread Brad Kinnard
I have been spending quite some time today trying to find a suitable, yet simple, example of using the ContactsContract API. I have found a few posts here in the general area, but would really love someone just to break it down as to how I can retrieve the contact name, email and phone number, and