开发者

How to vibrate BlackBerry though code?(Java)

开发者 https://www.devze.com 2022-12-30 16:53 出处:网络
Here is what I\'m trying to do .. Whenever event occurs, device should vibrate for couple of seconds. I tried to use

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

精彩评论

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