0

Is there anyway to get the bluetooth profiles status programatically?

Sainath
  • 31
  • 1
  • 6
  • You can from anroid documentation http://developer.android.com/reference/android/bluetooth/BluetoothProfile.html – Rizky Ariestiyansyah Jan 04 '16 at 08:33
  • Possible duplicate of [How to get the connected device Blue tooth profiles status from another application in android](http://stackoverflow.com/questions/34525862/how-to-get-the-connected-device-blue-tooth-profiles-status-from-another-applicat) – Rizky Ariestiyansyah Jan 04 '16 at 08:34
  • http://stackoverflow.com/questions/12509135/how-to-get-bluetooth-connected-devices-using-bluetoothheadset-api – jignesh.world Jan 04 '16 at 08:44

1 Answers1

0

Try this :

BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
    if (mBluetoothAdapter == null) {
        // Device does not support Bluetooth
        System.out.println("Device does not support Bluetooth");
    } else {
        System.out.println("Status " + mBluetoothAdapter.isEnabled());
    }

based on : http://developer.android.com/guide/topics/connectivity/bluetooth.html

rey1024
  • 99
  • 3
  • 8