I am an student developing an android application that will need to access the Bluetooth connection/disconnection.
I am new to android but I'm studying hard to be more familiar in creating android application.
please can anyone help me how to check if Bluetooth device is connected or not?
and also i want to detect if device is suddenly disconnected.