K kjmprkrhpdmv New Member Licensed User Longtime User Nov 26, 2013 #1 I am new to Android programming. Trying Basic4Android hoping it will be easier to use than Eclipse, Java, Xml.... So far it does seem much easier. I hope to convince my company to purchase it. I'm having a problem running this Bluetooth sample app. http://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ It will not connect to my android phone. I am running the app on a Samsung tablet connected to the PC. I put my phone in discovery mode, click Search for devices, select the phone from the list, it tries to connect then I get this error message java.io.IOException: read failed, socket might closed or timeout, read ret: -1 I have restarted the tablet, phone and PC several times. Always get the same error.
I am new to Android programming. Trying Basic4Android hoping it will be easier to use than Eclipse, Java, Xml.... So far it does seem much easier. I hope to convince my company to purchase it. I'm having a problem running this Bluetooth sample app. http://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ It will not connect to my android phone. I am running the app on a Samsung tablet connected to the PC. I put my phone in discovery mode, click Search for devices, select the phone from the list, it tries to connect then I get this error message java.io.IOException: read failed, socket might closed or timeout, read ret: -1 I have restarted the tablet, phone and PC several times. Always get the same error.
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2013 #2 This example will only work if you run it on two devices. Not a PC. Upvote 0