The Gesture API allows a MIDlet to receive notifications when
the user interacts with Canvas
or CustomItem
components. The API registers
touch interaction as a series of gesture events.
The Gesture API is supported since Series 40 6th Edition, Feature Pack 1. The Gesture API is packaged as part of the Nokia UI API and consists of the following classes:
GestureEvent
GestureListener
GestureInteractiveZone
GestureRegistrationManager
You can combine the Gesture API with the Frame Animator API to create linear drag and kinetic scroll animations. You can also use gesture events together with pointer events to implement touch functionality.
To implement touch functionality in your MIDlet:
For more information about the Gesture API classes and methods, see the Gesture API reference.