Android Question Read from an already connected bluetooth barcode reader

rosippc64a

Active Member
Licensed User
Longtime User
Hi All!
I have a BT barcode reader, Eyoyo-015. It is paired to my android device as an input device, works well.
If I have an edittext field, I can see in it the read data.
Sometimes I want to read QR codes also, what has more data, so it is not good to read into an edittext (doesn't need that user do see its content), I thought it would be good, if I could read directly from reader. I can see the reader in the paireddevices, but when I would connect directly:
device.Name = "Eyoyo-015"
device.Mac = "AA:FE:09:02:80:23"
then I got an error: java.io.IOException: read failed, socket might closed or timeout, read ret: -1, I think because it is connected.
Can I connect to reader somehow?

thanks in advance
Steven
 
Top