And, for reference, the recipe above is only for system groups (hence
the /system_id in the url).
If you want to display a non-system group, try this:
uri = Uri.parse(content://contacts/groups/ +
name/ +
Uri.encode(mGroupName) + // eg, Starred in Android -
Well, I haven't found a way to launch the system picker for a specific
group, so I've written a picker using a ListView and an URI of the
form:
Uri uri = Uri.parse(content://contacts/groups/system_id/ +
Contacts.Groups.GROUP_MY_CONTACTS + /members);
(with handy clue from here:
2 matches
Mail list logo