-2

I recently bought a bluetooth headphone to pair with my Experia Z3. I was wondering what code I might use to develop an app that will automatically shut off bluetooth on my phone after it loses connection with the headphones. I tried looking into some code but I couldn't really find what I was looking for.

Kind regards,

Goopher
  • 125
  • 8

1 Answers1

0

Here is a question that may help your thought processEnable/Disable Bluetooth.You can build upon this to your specific task.

Community
  • 1
  • 1
Mark Beleski
  • 406
  • 1
  • 3
  • 9
  • Thank you! I'd seen that question before but didn't really know how to implement it, now that I look at it again it becomes more clear. – Goopher Jan 07 '16 at 16:17