Touch UI interaction is supported by all MIDP LCDUI components in devices
that have a touch screen. The support for touch UI is implemented according
to S60 UI style. The developer does not need to do anything special to get
the touch functionality working for MIDlets when using high-level components.
For Canvas
and CustomItem
however, touch related functions need to be implemented in
order for MIDlets to work fully with touch events.
MIDlets using high-level components can be operated from both physical keyboard and from touch screen if both are present in the device.
Note: Touch enabled devices may have no or limited physical softkeys available. For example, the middle softkey might not be present. Also physical keyboard such as ITU-T or QWERTY might not be available. Thus if a MIDlet is designed to work with touch UI its design should not rely on hardware keys.
There might be devices that have both touch screens and non touch screens.
The implementation checks dynamically whether the active display supports
touch or not. When developing touch enabled MIDlets this needs to be taken
into account. For example Canvas
applications relying
solely on touch events do not work when non touch display is switched on.
S60 MIDP applications give similar tactile feedback as S60 native applications.
However, it should be noted that tactile feedback is not automatic in Canvas
and CustomItem
applications.
If tactile feedback is required it must be defined using Nokia
UI API. An application must define the area(s) where tactile feedback
is needed and style(s) for it.
For UI element-specific details, see section Displayables and Commands.