08-19-2008 07:26 AM
Hi, i want to get a EncodedImage from the byte photo in the BlackBerryContact, How can i do this?
when i try to do it, an Illegal argumet exception is throws by the createEncodedImage(byte b,int offset, int length) ;
i invoke it in this way
byte binary = contact.getBinary(BlackBerryContact.PHOTO, BlackBerryContact.ATTR_NONE); EncodedImage imagen=EncodedImage.createEncodedImage(binary,0,bi
Solved! Go to Solution.
08-19-2008 10:06 AM