0

Found some answers related to bluetooth using ADB. But all of to turn on/off bluetooth using ADB?

My requirement is like get current bluetooth status on phone. if it off state turn on bluetooth and vice versa.

Sreekanth
  • 87
  • 2
  • 8

1 Answers1

1

You can use the ADB get global command to read the Bluetooth status for an android phone using this command

adb shell settings get global bluetooth_on
Robert
  • 39,162
  • 17
  • 99
  • 152
Son of Man
  • 1,213
  • 2
  • 7
  • 27