Hello.
I'm trying to run the example from [B4XPages] Bluetooth Chat Example on a device with Android Pie (SDK 28).
When selecting the device from the list, I'm not asked for pairing and I'm getting the error:
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
If I try to pair the device in advance from Android Bluetooth settings, connection is successful.
Is working as expected on Android 4.4 (KitKat) and Android 11 (asking for pairing).
Any hints?
Thank you.
I'm trying to run the example from [B4XPages] Bluetooth Chat Example on a device with Android Pie (SDK 28).
When selecting the device from the list, I'm not asked for pairing and I'm getting the error:
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
If I try to pair the device in advance from Android Bluetooth settings, connection is successful.
Is working as expected on Android 4.4 (KitKat) and Android 11 (asking for pairing).
Any hints?
Thank you.