9 Vibe and Backlight
Vibe and Backlight API
The Vibe and Backlight API allows J2ME applications access to vibrator, backlight, and keypad control. This access gives a MIDlet the ability to turn on/off these features based on the application’s needs. The MIDlet will use the Vibe and Backlight API to enhance the activity being performed by the application. Examples of these enhancements are the following:
•When in a driving game application, the vibrator is turned on during a crash scenario.
•An alarm clock application will have access to turn the vibrator on and off.
•A stock ticker application turns the backlight on/off when a specified stock hits a target price.
In future releases of the Vibe and Backlight API, keypad and backlight control must function separately. Currently, these functions are dependant on the hardware implementation and which additional drivers are needed to control the keypad and lights separately from the display’s backlight.
Native constraints must be in place to protect the battery life of the product. A