For bluetooth device found we receive Brodcast from Android with action :
if (BluetoothDevice.ACTION_FOUND.equals(action)) {
// New bluetooth device found
}
When we set device to discover able then this happens.
My question is what are the intents that are fired when device discoverable is turned off or bluetooth of other device turned off.
In my list view I am showing devices that are "FOUND" I am able to do this using above code. But I want to remove entry of the device which is no longer in range, no longer discoverable or has turned off the bluetooth are there any specific intent that Android platform fires ?
I have looked through BluetoothDevice
, BluetoothAdapter
reference API
s. But did n't found any useful broadcast action.