You're probably looking for something like this:
// First, find the CONTACT_ID of the person Uri filterUri = Uri.withAppendedPath(Contacts.People.CONTENT_FILTER_URI, "Person Name"); // TODO: read contactId from returned cursor // Then, query for postal contact methods on that person Uri contactUri = ContentUris.withAppendedId(Contacts.People.CONTENT_URI, contactId); Uri methodsUri = Uri.withAppendedPath(contactUri, Contacts.People.ContactMethods.CONTENT_DIRECTORY); // TODO: query here to find matching rows at methodsUri that have // Contacts.ContactMethodsColumns.KIND + "=" + Contacts.KIND_POSTAL j On Mon, May 18, 2009 at 8:18 AM, [email protected] <[email protected]> wrote: > > Hi, > > I try to find the postal address of a contact witch is saved in the > phonebook. > I know the name of this contact, but i don't know where i can find his > postal address. > > Somebody can help me please :) > > > -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

