Can't remove contact from group in 1.6

Discussion in 'Application Development' started by een0616, Aug 22, 2010.

  1. een0616

    een0616 New Member
    5

    Aug 22, 2010
    1
    0
    5
    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?
     

    Advertisement

Share This Page

Loading...