[android-developers] Re: Is it possible to pick contacts from a single group ?

2009-03-26 Thread jarkman
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 -

[android-developers] Re: Is it possible to pick contacts from a single group ?

2009-03-25 Thread jarkman
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: