开发者

Drawing offscreen WebView and capturePicture issues

My goal is to turn a WebView into a Bitmap so I can add it to a homescreen widget. I have gotten WebView.capturePicture() to work fine; however, I cannot get the WebView to render without setting it as the content layout or similar. As this is an app widget I won't be able to set it as a view.

Is it possible to render a WebView and save it to a bitmap without setting it as the content开发者_JAVA技巧 view?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜