开发者

High-performance bitmap drawing from Webview

I need to take the bitmap of a web page presented in a WebView, and draw it somewhere else. I need to do it in high performance - several times in a second. Anyone has an idea what's the best way of ach开发者_C百科ieving that? I know how to get the bitmap using webview.buildDrawingCache and canvas.drawBitmap, but that seem to be a good solution for a single snapshot only. Also tried overriding onNewPicture, was not enough either. Getting the bitmap is a must for me, I cannot simply re-scale the webview.

Thanks, yakobom

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜