while (c.next()) {
 // Do something.
}

On Apr 24, 6:11 pm, scimitar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a cursor that gets the contact list stored on the phone:
>
>  Cursor c = getContentResolver().query(
>                         People.CONTENT_URI, null, null, null, null);
>
> Now I want to iterate over the contact list, and for each contact
> print out the associated number. What's a good way to do this?
>
> thanks,
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to