Hi, Set the type to: ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE
Cheers, Steve On Jul 11, 8:45 am, andreas <[email protected]> wrote: > Hi, > > I use this code to start the contact app and pick a contact in my app > > Intent contactintent = new Intent (Intent.ACTION_PICK); > contactintent.setType(ContactsContract.Contacts.CONTENT_TYPE); > startActivityForResult(contactintent,PICKCONTACT); > > and then working with the result in onActivityResult. > > But is there a way to tell the contact activity only to show contacts > which have a phone number or an email-adress? > > Andreas -- 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

