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);
J2ME (Java 2 Micro Edition) source codes and examples / samples in midlet basic, graphics user interface, networking,record management system, thread, timer, audio video multimedia, encryption etc
Design by Blogger Buster | Distributed by Blogging Tips
Cool application, I used for a while, it is quite useful.
ReplyDeleteHi I am Ronak Khilosiya
ReplyDeleteI need to defination of java project
which application I can create?
Hi I am Ronak Khilosiya
ReplyDeleteI need to defination of java project
which application I can create?
vibrate fnction is not there in class javax.microedition.lcdui.Display :(
ReplyDeletein reply to anonymous
ReplyDeletewhen u make a new projct with hello midlet..
c the following code..hope u wl understnd..
public void switchDisplayable(Alert alert, Displayable nextDisplayable) {
// write pre-switch user code here
Display display = getDisplay().vibrate(1000); //do this anonymous
using a bluetooth to make a voice call on two persons is possible
ReplyDeleteits not possible dude.....signal are different
Deleteiui
ReplyDeleteiui
ReplyDelete