How can I avoid or dismiss Android's Bluetooth pairing notification when I am doing programmatic pairing?

前端 未结 3 1802
陌清茗
陌清茗 2020-11-29 16:52

I have an app where I am programmatically controlling Bluetooth pairing and unpairing. I can pair before connection and unpair afterwards. The reason I need to do this is

3条回答
  •  隐瞒了意图╮
    2020-11-29 17:32

    Since Android API 19 Google switched these Methods to public Methods, so there is no need for Reflection any more. :)

提交回复
热议问题