My question is similar to this question from a few years ago but that question was never answered and I'd like to find out if anything has changed since it was asked.
I'd like to programmatically capture a screenshot of a webview which has flash elements. When I try and use the methods that are most widely described online (using view.draw
and view.getDrawingCache
) the flash elements do not get captured. I believe this has to do with software vs hardware rendering of the elements. Please let me know if I'm off base on this.
I don't actually need to do this in the final app, only during development, so I'd be open to some adb hackery but the app needs to be able to trigger the screenshot.
I would really appreciate any ideas.
Thanks