开发者

How to vibrate BlackBerry though code?(Java)

Here is what I'm trying to do ..

Whenever event occurs, device should vibrate for couple of seconds.

I tried to use Display.getDisplay(this).vibrate(2000);

It did not vib开发者_如何学JAVArate, while testing on device

Even tried it with device profile was set to Vibrate(Active)

Am I missing something here?


Use Alert.isVibrateSupported(), Alert.startVibrate(time) and Alert.stopVibrate()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜