I am running the example for Bluetooth connectivity between two android devices:
https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768
First I compiled program on my primary phone (ZTE Z981) and communicated with my PC (via its Bluetooth) . I can communicate both ways with a PC terminal emulator.
When I try to connect my primary phone to a second (PAIRED) android device rather than the PC I get I see the GUI on the device but get the following errors when I try to send or receive:
Logger connected to: ZTE Z981
--------- beginning of main
Nexus 7:08:60:6E:9D:87:70
:17:8D:84:76:1D:02
:08:66:98:B7:7B9
:08:66:98:B7:7B9
:08:66:98:B7:7B9
connected: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
** Activity (main) Pause, UserClosed = false **
Can anyone suggest a fix
https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768
First I compiled program on my primary phone (ZTE Z981) and communicated with my PC (via its Bluetooth) . I can communicate both ways with a PC terminal emulator.
When I try to connect my primary phone to a second (PAIRED) android device rather than the PC I get I see the GUI on the device but get the following errors when I try to send or receive:
Logger connected to: ZTE Z981
--------- beginning of main
Nexus 7:08:60:6E:9D:87:70
:17:8D:84:76:1D:02
:08:66:98:B7:7B9
:08:66:98:B7:7B9
:08:66:98:B7:7B9
connected: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
** Activity (main) Pause, UserClosed = false **
Can anyone suggest a fix