com.nokia.mid.ui.DeviceControl
The Nokia UI API adds to MIDP the ability to control the device’s vibration feature, screen backlight and screen flashing.
Note: MIDlets that use vibration and lights may benefit from an option (for example, in an Options screen) that allows that use to be enabled or disabled. Some users may prefer to disable these features.
For examples on using these features, see the following articles at Forum Nokia wiki.
S60 devices from S60 5th Edition onwards may include Touch
UI-compliant screens. To eliminate the passive feeling of touch screens,
touch-enabled devices may provide tactile feedback by utilizing the TactileFeedback class in Nokia UI API. Tactile feedback consists of little signs (audio,
vibration) to accompany touch events such as dragging and tapping. When used
correctly, they present a more responsive interaction experience for the end
user.
Tactile feedback extensions work with both LCDUI and eSWT. In native applications and with most high-level UI components, tactile feedback is handled automatically.
There are two types of cases where vibration or audio of the device is used as an output method when the user is interacting with the device touch screen:
As with sounds, tactile feedback must be used carefully so as not to desensitize the user to the vibration: the attention grabbing quality remains and functions so long as the feedback is not too frequent.
Note: Tactile feedback does not work on emulators. For emulator testing purposes, you may need to create a MIDlet with tactile feedback disabled.