My BlackBerry application should fetch an image from a web service and display the image as a thumbnail. Can anyone give me an idea on how to achieve this?
My BlackBerry application should fetch an image from a web service and display the
Share
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.
This code can help you
This will generate Byte Array from your web service url. here
bbis byte array.There are two classes that handles image in BB.
EncodedImageandBitmap, both have constructors that generate image from byte array. I recommend use Bitmap, it has easy image re size capability.