How can I re-size the image stored in resource folder using code according to the display width and height of blackberry screen?
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.
Firstly create a encoded image like this
then pass this encoded image to the below function
this will give you a encoded image. then convert it to Bitmap using