Vector contactList = Phone.getContactsByPhoneNumber(inputNumber); Contact contact = (Contact) contactList.elementAt(0); byteStream = contact.getBinary(Contact.PHOTO, Contact.ATTR_NONE); EncodedImage contactPic = EncodedImage.createEncodedImage(byteStream, 0, byteStream.length); String picType = String.valueOf( contactPic.getImageType() );
Monday, October 17, 2011
How to get the Blackberry address book image photo
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment