Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087768

Webview touch events cause out of memory errors

XMLWordPrintable

    • web

      In WebView touch events are translated into mouse clicks and mouse wheel actions simultaneously. This causes problems on certain pages notably Google Maps. Due to the large number of mouse wheel actions that are issued, the heap space tends to get out of memory resulting in repeated exceptions. I was able to confirm how the touch events are translated into mouse events by loading this page ( http://www.snappymaria.com/canvas/TouchEventTest.html ) into WebView and using touch actions.

            asrivastava Ankit Srivastava
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: