How to get all Contact details in a single query

by Pankaj » Wed, 17 Mar 2010 14:17:24 GMT

Sponsored Links
 I am using Android SDK 1.6
I want to get name, all emails, all phone numbers, organization
details for a contact.

Currently what I do is append the

People.ContactMethods.CONTENT_DIRECTORY with a base uri to obtain
Contacts.Organizations.CONTENT_DIRECTORY with a base uri to obtain
organization details
People.Phones.CONTENT_DIRECTORY with a base uri to obtain phone

So basically I need to make 3 queries per contact to obtain these

What I want to know is that, is there a simpler and more efficient way
to achieve what this.



Other Threads

1. When call mWifiManager.isWifiEnabled , it crash. thanks in advance.

ooooooh~ , It 's true . No permission that :

Thanks again.


2. G. Checkout Declined Payments

Hi folks,
just two questions:

1) I'd like to know whether a paid app remains installed on the phone
for the next 7 days (as google says) when an order is set as payment
2)  Some users tried to buy more times the same app but always they
got a declined payment. Some users say it's a credit cards problem due
to different currencies (i sell in euros and they are in u.s.)
What I have to say to these users that cannot buy my app? I'm losing
Can google answer me/us please?



3. leaks when phone rotates

4. Set ringtone from raw resource?

5. Using raw resource sound file as Ringtone

6. Anyway to check if any items on the history/activity stack?

7. Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo