1

I have tried it with the following link but it does not ask for Pairing, it directly connects with the device.

Programmatically pairing with a BLE device on Android 4.4+

Please suggest something?

  • 1
    If your BLE device requires pairing to be used your phone should automatically show the pairing dialog – Michael Kotzjan Jul 09 '21 at 12:10
  • 1
    What is your scenario? Calling `createBond` on the `BluetoothDevice` object is what you should do. What exactly are you referring to when you say "secure"? – Emil Jul 09 '21 at 16:17

0 Answers0