How to detect Bluetooth state change using a broadcast receiver?
AS far as permissions go, to detect the state change of bluetooth you need to add this to your AndroidManifest.xml. <uses-permission android:name=”android.permission.BLUETOOTH” /> An example receiver would look like this, you add this code to where you want to handle the broadcast, for example an activity: private final BroadcastReceiver mReceiver = new BroadcastReceiver() { public … Read more