On May 17, 4:12 am, Naveen <[email protected]> wrote:
> Any help pls. on my query?
>
if your image is too big create smaller one, for example two times
smaller:
WebView browser;
Picture p = browser.capturePicture();
Bitmap b = Bitmap.createBitmap( p.getWidth() / 2, p.getHeight() /
2, Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(b);
c.scale(0.5, 0.5);
p.draw(c);
pskink
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en