GWT 2.4 - Mobile Web App

212 views
Skip to first unread message

Joe Chahoud

unread,
Jul 5, 2011, 5:01:16 AM7/5/11
to google-we...@googlegroups.com
Hi,

I am wondering if there are any wikis, tutorials or samples on how to implement touch events handlers

I am aware that the events are already supported like "TouchMoveEvent", however, is there any article 
that describes how to get the direction or the instant position of the widget while moving or it's just an event that is fired and I should calculate everything ?

Thanks, Joe

gadev

unread,
Jul 5, 2011, 6:30:06 AM7/5/11
to google-we...@googlegroups.com
One of GWT 2.4 sample apps is MobileWebApp, you maybe able to find what you need there.

-George

Joe Chahoud

unread,
Jul 8, 2011, 6:13:44 AM7/8/11
to google-we...@googlegroups.com
Okay, I have found that the ScrollPanel implements already touch events and do a scroll event on mobile devices.

However, I have found that on IPhone4, the scrolling is smooth, fast, whereas on Android Froyo and Android Gingerbread, the scrolling isn't fast, it just slides vertically or horizontally but hardly.
Sometimes, suddenly it moves fast and scrolls as on IPhone device, then it just hangs and gets back to the slow scrolling.

Is there any fix for that or shall I wait for the final Release of GWT 2.4 ?
Thank's!
Reply all
Reply to author
Forward
0 new messages