Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Getting MouseMove event on Mobile Browsers

382 views
Skip to first unread message

Alan

unread,
Sep 1, 2012, 1:49:27 PM9/1/12
to gwtm...@googlegroups.com
Using that Standard GWT MouseMove Event handler does not give me mousemove events when in a Android or iPhone browser. 

I need to find a way to get the equivalent event in a mobile browser and was wondering (a) what that event is and (b) if GWTMobile will get it.

Regards, 
Alan

Zhihua (Dennis) Jiang

unread,
Sep 4, 2012, 9:20:48 PM9/4/12
to gwtm...@googlegroups.com
a) On the mobile browser (android and ios), you should listen to the TouchMove event instead. 
b) If you use GWTMobile, then you can listen to the Drag events. The drag events provide a layer of abstract so that the event handler will work on both the desktop and on the mobile browser. Take a look at the Button class to see how it is used.
Reply all
Reply to author
Forward
0 new messages