How to pair Bluetooth device programmatically Android

前端 未结 8 2003
不知归路
不知归路 2020-11-27 12:35

I am developing an application where I want to connect a Bluetooth device main issue is I don\'t want user to enter required pin instead application should do that by himsel

8条回答
  •  无人及你
    2020-11-27 13:19

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

    This seems to give you the answer, with the pin entering and all. It involves sending .setPin() whenever you get the message.

提交回复
热议问题