Hello all,
I have a OutGoingCallReceiver setup to catch outgoing calls, it
attempts to check their group membership and return which groups the
contacts are part of.
I have been using 1.5 code to accomplish this on the emulator. It
works for users I create, because I have to add them to the groups I
am looking for, but when I do this on a live android phone with gmail
synced, it does not pull back group membership. Any help on this.
here is some of the code:
d =
context.getContentResolver().query(Contacts.GroupMembership.CONTENT_URI,
projection2,
filterString2,null, null);
if(d.moveToFirst()){
String notes2 =
c.getString(c.getColumnIndex(Contacts.GroupMembership.PERSON_ID));
sGroupName =
d.getString(d.getColumnIndex(Contacts.GroupMembership.NAME));
return (sGroupName);
--
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