I have the same problem, but I need a better solution. I'm doing a
managed query on the contacts and am already filtering out entries
that do not have a DISPLAY_NAME, but I still get all the suggested
contacts. I need to deal with contacts that have a name but no phone
number or email address.
I
To answer my own post... I looked at the Contacts source code, and
this is essentially what they do:
The main My contacts group is called
Contacts.Groups.GROUP_MY_CONTACTS.
To query all members in that group, simply use this URI:
Uri uri = Uri.parse(content://contacts/groups/system_id/ +
Hey Miguel,
I was having the same problem. It's not a perfect solution but you can
check whether the contact has a name and/or phone number and if not
add then don't add them to your list. Just loop through all the items
and add items to a List and then use the List to populate you
listview.
On Dec 9 2008, 8:22 am, Paul paul_rash...@yahoo.com wrote:
bklik's question seemed to indicate that he was dumping the contact
list programactically via his own activity. I was just wondering if
thecontactsAPI was returning allcontactsand the activity needed to
do the filtering.
I have the
Thanks Paul, you were right. It's funny, I don't use my gmail account
much, and I didn't recall conversing with those individuals in the
past. Thanks for clearing that up.
Brenton
On Dec 7, 9:50 pm, Paul [EMAIL PROTECTED] wrote:
Did you check your gmail account under Contacts -- suggested
bklik's question seemed to indicate that he was dumping the contact
list programactically via his own activity. I was just wondering if
the contacts API was returning all contacts and the activity needed to
do the filtering.
On Dec 8, 4:48 pm, Eric Mill [EMAIL PROTECTED] wrote:
The Suggested
Did you check your gmail account under Contacts -- suggested contacts
to see if the people you're seeing appear there as well? GMail
creates a hidden contact for everyone you've traded emails with and
perhaps the hidden people are coming from here?
On Dec 6, 4:07 pm, bklik [EMAIL PROTECTED]
7 matches
Mail list logo