Do Bitmap.scaleInto() function will work on older version of blackberry actual device

Posted by Maneesh on Stack Overflow See other posts from Stack Overflow or by Maneesh
Published on 2010-05-20T12:08:37Z Indexed on 2010/05/20 12:10 UTC
Read the original article Hit count: 343

Can anyone tell me that do scaleinto function will work on actual device having older os that 5.0. Bleow is the code.

 public static Bitmap resizeImage(Bitmap originalImage, int newWidth, int newHeight) {
   Bitmap newImage = new Bitmap(newWidth, newHeight);
   originalImage.scaleInto(newImage, Bitmap.FILTER_BILINEAR, Bitmap.SCALE_TO_FILL);
  return newImage;
 }

© Stack Overflow or respective owner

Related posts about blackberry-jde

Related posts about blackberry