Hi everyone
I can remove a contact from a group in 1.5 with following code:
getContentResolver().delete{GroupMemberShip.CONTENT_URI,GroupMemberShip.PERSON_ID='userid',null}
but in 1.6,I got the error message :
UnSupportedOperationException:Cannot delete the URL:content://contacts/groupmembership
How can I remove the contact from group in 1.6?
I can remove a contact from a group in 1.5 with following code:
getContentResolver().delete{GroupMemberShip.CONTENT_URI,GroupMemberShip.PERSON_ID='userid',null}
but in 1.6,I got the error message :
UnSupportedOperationException:Cannot delete the URL:content://contacts/groupmembership
How can I remove the contact from group in 1.6?