How to turn on bluetooth on button click

后端 未结 3 875

In my application, I need to turn on bluetooth of my device on a button click. How can I achieve that? An example will be really helpful. Also, what permiss

3条回答
  •  春和景丽
    2020-12-18 02:15

    This solution will help you Android Bluetooth. But for details about the Bluetooth usage with Android along with manifest.xml you need to see this Android Bluetooth.

    For permission you need.

    
      
      ...
    
    

提交回复
热议问题