Android Question BLUETOOTH DEVICE DISCONNECT

SimonAndroid

Active Member
Licensed User
Longtime User
Hi, I wanted to know how to solve a problem when disconnecting a Bluetooth device in keyboard emulation, I try to explain better. The Bluetooth device That I connected to my tablet is a barcode reader, it seems that after a certain period of time of non-use of the device, we talk about about 10 minutes, this is disconnected by sending a code that I am not able to intercept, perhaps an escape code. In case it is on an input form the mask is closed suddenly, despite trying to use a breakpoint to intercept the event I did not succeed. Any suggestion might be very important I tried to use another Zebra brand Bluetooth barcode reader as well, but I had the same problem. Excluding the connection via SPP, what other attempt could I make to handle the event and avoid closing the form.
Cordially
 
Top