Creatiing tablet application with GXT and GWT

Arnaud Tournier, le 11-11-2015

Speaker : David Chandler

Intro to GXT

Widgets for GWT written purely in Java.

Customers are enterprises buliding desktop like applications.

General tips for Touch devices

Since 20 years of Web developments, somethign has changed. Tablets are more sold than PCs. And this phenomenom is coming to enterprise also.

Users expect : tap, double tap, slide, pinch & rotate, zoom, …

In a broswer, the API is there. GWT also exposes those events.

But developer need higher level events : notion of a gesture.

GXT has a gesture recognizer.

Getting started with GXT Touch

Avoid conflict with system : - option 1 : lock the viewport (minscale = maxscale = 1) - option 2 : limit scaling (maxscale = 3)

Use a widget

SelectEvent takes the touch in account.

onTouchStart, onTouchEnd, onTap


Device emulaton in Chrome dev tools (–touch-events flag on the chrome command line)

Chrome Remote debugging : launch from mobile, plug USB cable, go to chrome://inspect # GWT 3 and Senha’s plans

Arnaud Tournier, le 11-11-2015