• Home
  • Q&A
  • capturePicture() to bitmap results into out of memory
 
3
0
0

capturePicture() to bitmap results into out of memory

ZamviaStackOverflow
October 21, 2011
2 score
1 answers

I'm new to Android/Java programming and trying to get a bitmap from webview.capturePicture(). However, in cases where the web page is long, the Picture's height is too big and createBitmap() is returning out of memory. My questions are:

  1. Is there a way to extract the Picture in sub so createBitmap() does not need a lot of memory?
  2. Is there another way to get the web view image other than capturePicture()?

Any help is appreciated.

Answers

Discussion

-