Please have a look at the following code
First, Please note I am a 100% newbie to Java Mobile.
In here, I am making the light on and vibrate on when user click t
Use the javax.microedition.lcdui.Canvas instead of Form. This example can get you started
javax.microedition.lcdui.Canvas