Can anyone know the way how to use createEncodedImage method of EncodedImage class in jde 4.5
Thanks and regards,
Vivek Birdi
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s how you would do it if the Image was a resource file of the application:
You could also pass a String as a parameter to define the MIME type. These are the supported MIME types:
Finally, here’s the documentation for 4.5: [EncodedImage Javadocs 4.5][1]
[1]: http://www.blackberry.com/developers/docs/4.5.0api/net/rim/device/api/system/EncodedImage.html#createEncodedImage(byte%5B%5D, int, int)