Can't remove contact from group in 1.6


Last Updated:

  1. een0616

    een0616 New Member This Topic's Starter

    Joined:
    Aug 22, 2010
    Messages:
    1
    Likes Received:
    0
    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...