In addition to the general browser and control events you can access specific events for touch-enabled devices.
When implementing SAPUI5 controls, some browser events can be handled very easily by implementing a method named on<eventName>, so all the bind/unbind effort is avoided. This is equally possible on mobile.
On touch-enabled platforms additional browser and pseudo events are available:
On touch-enabled platforms the following events are also provided within UI5 controls to be handled in on<eventName> methods:
jQuery mobile event handling is used in SAPUI5 when running on touch-enabled devices. From the basic browser events it creates semantically richer events. Some of them are also provided automatically in SAPUI5 controls:
For more information, see jQuery mobile.
With Microsoft Windows 8, new devices are also introduced that allow user interaction with both mouse and touch. To be able to react to both kind of events, some new functionality was introduced.
For more information, see Windows 8 Support
For testing or demonstration purposes, the events listed above can also be simulated on non-touch devices. When this simulation is enabled, the touch events will also be triggered by mouse interaction.
To enable the simulation mode, set the SAPUI5 configuration parameter xx-test-mobile to <true>, for example by appending the URL parameter sap-ui-xx-test-mobile=true.