Hi,

I'm trying to query the list of favorite contacts. I use the line
below:

Cursor cur = this.getContentResolver().query(People.CONTENT_URI, null,
People.STARRED + "=?", new String[] { "1" }, null);

However, this doesn't work because NULL data is returned, even though
my list of favorite contacts is not empty.

Is there a way to query the list of favorite contacts?

Thanks in advance,

Ali

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to