remove contact's photo

Posted by Varand Tin on Stack Overflow See other posts from Stack Overflow or by Varand Tin
Published on 2010-12-23T00:51:14Z Indexed on 2010/12/23 0:54 UTC
Read the original article Hit count: 133

Filed under:
|

Hey guys, in order to remove contact's photo, which way is correct?

1) to update and set Photo.PHOTO to ""/"NULL" , or 2) to update and set Photo.MIMETYPE to ""/"NULL" or 3) to update and set Data.MIMETYPE to ""/"NULL" ?

I wanted to mention also that I insert photos from my app by the following way:

cr.insert(ContactsContract.Data.CONTENT_URI, photoValues);

Please also tell me "" is better or null? (in updating case)

Thanks a lot.

© Stack Overflow or respective owner

Related posts about android

Related posts about sqlite3