On iPhone/iPad, mobile safari raises touch
events<http://developer.apple.com/safari/library/documentation/appleapplications/reference/SafariJSRef/index.html#//apple_ref/doc/uid/TP40001482>.
You can write javascript code to listen to these events. Since these events
are browser specific, GWT doesn't handle them out-of the-box. However, it is
is possible to extend GWT so that you can handle these events, and Lombardi's
development blog explains how to achieve
this<http://development.lombardi.com/?p=1289>
.

Apart from mobile safari, there isn't a way to access touch events on
desktops that have a touch screen.

--Sri


On 6 June 2010 09:39, spierce7 <[email protected]> wrote:

> I don't think there is a way to access touch events in and of
> themselves. Touch screens are just simply another way of controlling
> the mouse for the computer. In terms of phones, when they touch a
> link, its equivalent to them clicking the link. Basically what I'm
> saying is that a touch event should be looked at by the browser, and
> thus GWT, as just simply a mouse click/move.
>
> On Jun 5, 8:54 pm, Dominik Steiner <[email protected]>
> wrote:
> > Hi there,
> >
> > is there a way to get touch events from touchscreen laptops or desktop
> > computers? Am I right that only the iphone and android browser support
> > touch events so far? So that it is not possible to access those touch
> > events from the touchscreen computers?
> >
> > Thanks
> >
> > Dominik
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to