When you create a virtual serial Com port for bluetooth as an incoming port on the PC you can discover it from your Basic4android app but it would seem that if it is not in use ie: if it is not bound by something like a terminal application then when you try to connect to it you get the error:
java.io.IOException: Service discovery failed
And Amazon reject your app :sign0148:
Is there any way to test for this using Try Catch ?
Then I could display my own error message.
Amazon's helpful rejection email states the error as:
"BTInterfaceFreeTrialBETA Error Connecting: java.io.IOException: read Failed, Socket might closed read ret:-1" appears.
OS/Device(s)/Form Factor: 2.3.3/HTC Desire HD A9191/Phone.
4.2.1/Nexus 7/Tablet.
4.1/Samsung Galaxy Nexus/Phone.
java.io.IOException: Service discovery failed
And Amazon reject your app :sign0148:
Is there any way to test for this using Try Catch ?
Then I could display my own error message.
Amazon's helpful rejection email states the error as:
"BTInterfaceFreeTrialBETA Error Connecting: java.io.IOException: read Failed, Socket might closed read ret:-1" appears.
OS/Device(s)/Form Factor: 2.3.3/HTC Desire HD A9191/Phone.
4.2.1/Nexus 7/Tablet.
4.1/Samsung Galaxy Nexus/Phone.