View Single Post
Old 02-25-2009, 05:19 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Jun 2008
Model: 9000
Carrier: Vodafone
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Bluetooth radio ON/OFF status

Please Login to Remove!


Is there any API for checking the Bluetooth radio ON/OFF status? or any API for enable the bluetooth?

I am developing a bluetooth application with auto start on device startup feature. My application will try to open connection with the first paired BT device @ start-up. But the BT open activity was failed due to Bluetooth radio is OFF at the start-up.

But , if i use the API javax.bluetooth.DiscoveryAgent.startInquiry(), the device is asking to enable the bluetooth. So there may be an API retrieving the bluetooth status.

Please Help.

Offline   Reply With Quote