I am talking about are handled in javascript
indeed I explicitly wrote about callbacks.
(the longpress listener also is not called, it is in Java just for testing purposes as a fallback but it is not useful because it is not called either)
This is the problem:
The first event should be "mousedown"
and it is in the simulator, whatever kind of click type the user does, i.e. click or longpress.
The second event should be "mouseup"
and it is in the simuator, whatever kind of click type the user does, i.e. click or longpress, just the difference is timing.
The Javascript callbacks work and a suitable part of the code is called for each of the above mentioned events.
(It is not a simulator bug, it works as it should)
So In case of click those events are fired correctly both in simulator and also in the Android device.
Instead
in case of long press on the real Android device only click is handled correctly and I see the correct sequence of mouse events,
but with long press those events are not fired, like they are gobbled down.
So both the down event and the up event are not handled, they do not trigger the callbacks, they are not fired ore they are gobbled.
It seems that the WebView has a timer itself and decides whether to fire the first event according to the timing of the second.
Regards