0

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.

Aman Jham
  • 477
  • 6
  • 18
Gyanendra Mani
  • 319
  • 3
  • 12
  • Take the screenshot after the WebView finishes loading otherwise you will get a blank screen. – sasikumar Aug 04 '15 at 06:26
  • Already done that I m doing it when chart is completely loaded in webview – Gyanendra Mani Aug 04 '15 at 07:06
  • so try with programmatically http://stackoverflow.com/questions/20919431/take-screenshot-from-webview-in-android and http://stackoverflow.com/questions/23132812/how-to-take-screenshot-of-webview-in-android – sasikumar Aug 04 '15 at 07:10

1 Answers1

2

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

Gyanendra Mani
  • 319
  • 3
  • 12