Hi,
I have two devices to connect via bluetooth automatically when my app truns on. One device is set to listen for incoming connections, the other is set to connect to first device.
Everything works fine, but if one device is off I'm getting "java.io.IOException: Device or resource busy".
How can I catch this kind of errors?
Thanks
I have two devices to connect via bluetooth automatically when my app truns on. One device is set to listen for incoming connections, the other is set to connect to first device.
Everything works fine, but if one device is off I'm getting "java.io.IOException: Device or resource busy".
How can I catch this kind of errors?
Thanks