You can make your phone migrate in J2ME by calling vibrate(int duration) method of javax.microedition.lcdui.Display class. The duration parameter is the number of milliseconds the vibrator should be run.

 Display.getDisplay(this).vibrate(800);

 

 

 Related Tips