Search code examples
androidandroid-webviewscreenshot

Screenshot of webview in android


I have used chartiq in my android app which draws chart.

However when I try to capture the screenshot of the webview through code it shows white screen.

This issue is on devices running v4.4.3 and above.It works perfectly fine on emulator.


Solution

  • adding this in manifest.xml android:hardwareAccelerated="false"