开发者

How to check Bluetooth On/Off state in J2ME?

How can I check whether my device's bluetooth is turned on or off?

I have tried i开发者_如何学Cspoweron() method but it doesn't work.


Do your usual operations with Bluetooth. If they throw BluetoothStateException, then Bluetooth is off.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜