http://gwt-code-reviews.appspot.com/1369809/diff/1/user/src/com/google/gwt/touch/client/TouchScroller.java File user/src/com/google/gwt/touch/client/TouchScroller.java (right):
http://gwt-code-reviews.appspot.com/1369809/diff/1/user/src/com/google/gwt/touch/client/TouchScroller.java#newcode162 user/src/com/google/gwt/touch/client/TouchScroller.java:162: } I can move the detection of support for Touch Events to TouchEvent#isSupported(). Its probably a generally useful thing to know. Does that work? http://gwt-code-reviews.appspot.com/1369809/diff/1/user/src/com/google/gwt/touch/client/TouchScroller.java#newcode173 user/src/com/google/gwt/touch/client/TouchScroller.java:173: }-*/; On 2011/03/10 14:11:22, pdr wrote:
Can this be broken out into a module file, or a method in DomImpl? Also, can you guarantee an Android 3.0 / Honeycomb device will always
have a
touchscreen?
I think its the best we can do for now. I couldn't find any DOM tricks to check for native touch scrolling support. Android 3.0 is limited to tablets for now. In the meantime, I emailed the android developer group to ask. http://gwt-code-reviews.appspot.com/1369809/diff/1/user/src/com/google/gwt/touch/client/TouchScroller.java#newcode253 user/src/com/google/gwt/touch/client/TouchScroller.java:253: * @return true if touch events are supported, false it not On 2011/03/10 14:11:22, pdr wrote:
it -> if
Done. http://gwt-code-reviews.appspot.com/1369809/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
