C CurtisC Member Licensed User Longtime User Aug 5, 2013 #1 I am trying to connect an external USB barcode scanner and noticed the soft keyboard would not appear while the scanner was connected. So I am assuming the external scanner is seen as an IME. I read that IMEs are not recognized with the USB Host. Yet using IME I can not get anything from a scan to a EditText. Am I wrong about using the IME or how to read the scanner to the IME?
I am trying to connect an external USB barcode scanner and noticed the soft keyboard would not appear while the scanner was connected. So I am assuming the external scanner is seen as an IME. I read that IMEs are not recognized with the USB Host. Yet using IME I can not get anything from a scan to a EditText. Am I wrong about using the IME or how to read the scanner to the IME?
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2013 #2 USB Host will not help here as the barcode is most probably managed by the OS (like most HID devices). Have you tried to add an EditText and then scan? Upvote 0
USB Host will not help here as the barcode is most probably managed by the OS (like most HID devices). Have you tried to add an EditText and then scan?
C CurtisC Member Licensed User Longtime User Aug 5, 2013 #3 Thank you Erel Yes I tried an EditText similar to the IME tutorial. The EditText seems to react as if the cursor was centering but no text. I assume the barcode is read as a whole rather than individual characters. Could that cause a problem for an EditText. Upvote 0
Thank you Erel Yes I tried an EditText similar to the IME tutorial. The EditText seems to react as if the cursor was centering but no text. I assume the barcode is read as a whole rather than individual characters. Could that cause a problem for an EditText.
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2013 #4 Did you receive any documentation together with this scanner? Upvote 0
C CurtisC Member Licensed User Longtime User Aug 7, 2013 #5 Once you said an EditText should work my question turned to why not now So I exchanged the scanner and the EditText worked. Another question though, will show and hide keyboard enable and disable the wand? How do I prevent the HandleAction from working whenever the scanner is used. Upvote 0
Once you said an EditText should work my question turned to why not now So I exchanged the scanner and the EditText worked. Another question though, will show and hide keyboard enable and disable the wand? How do I prevent the HandleAction from working whenever the scanner is used.
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2013 #6 Another question though, will show and hide keyboard enable and disable the wand? Click to expand... You will need to test it. How do I prevent the HandleAction from working whenever the scanner is used. Click to expand... If the scanner is sending an Enter keystroke then the event will be raised. It is not different than any other input method. Upvote 0
Another question though, will show and hide keyboard enable and disable the wand? Click to expand... You will need to test it. How do I prevent the HandleAction from working whenever the scanner is used. Click to expand... If the scanner is sending an Enter keystroke then the event will be raised. It is not different than any other input method.