Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix"Miss a drag as we are waiting for WebCore's response for touch down"

Tags:

I am developing a webView based android application and was trying to capture the touch events. however it is not working and i saw this message in the log:

"Miss a drag as we are waiting for WebCore's response for touch down"

Does anyone know how to fix this problem?

like image 439
Anchal Avatar asked Jun 07 '12 13:06

Anchal


1 Answers

Currently, I`m facing the same issue while implementing an OpenLayers map inside of an Android WebView. Seems to be an open issue since 2009: Issue 4549 A workaround is mentioned there: Use

 e.preventDefault()  

in every ontouch###-function (Javascript).

Another hint was this answer on SO

It worked for me, but I'm going to take a closer look at WebView-MultiTouch-Polyfill in connection with MTfix for Android (Sorry, as a new user I`m not allowed to post more hyperlinks than two, but Google will help you)

like image 187
Ronny Avatar answered Sep 24 '22 06:09

Ronny