Cursor Contactos =
getContentResolver().query(RawContactsEntity.CONTENT_URI,
                          new String[]{
                              RawContactsEntity.DATA_ID,
                              RawContactsEntity.MIMETYPE,
                              RawContactsEntity.DATA1,
                              RawContactsEntity.DATA2,
                              RawContactsEntity.DATA3,
                              RawContactsEntity.DATA4,
                              RawContactsEntity.DATA5,
                              RawContactsEntity.DATA6,
                              RawContactsEntity.DATA8

                          }, null, null, null);

Hi everyone, i have this function to get all the contacts in the
device but i want to get only those with phone number, how can i do
that?

-- 
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

Reply via email to