that is for 1.6 API for contacts, not 2.x btw the query for 2.x API in
that page returned void and crashes my program

On May 24, 2:17 pm, Jitesh dedhiya <[email protected]> wrote:
> http://www.higherpass.com/Android/Tutorials/Working-With-Android-Cont...
>
>
>
>
>
>
>
>
>
> On Tue, May 24, 2011 at 5:01 PM, Abalufaske <[email protected]> wrote:
> >  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
>
> --
> --Jitesh .V. Dedhiya---
>
> Don't Learn To Hack but Hack To Learn

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