capturePicture() to bitmap results into out of memory
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:
- Is there a way to extract the Picture in sub so createBitmap() does not need a lot of memory?
- Is there another way to get the web view image other than capturePicture()?
Any help is appreciated.