How to trap barcode characters in android browser.

E Edward Syrett 3 years ago
1 0 0

We are using the TC8000 with an online web app that will run in the android browser.  Our app uses GWT at the client.

I am trying to make scanning work without having text controls on the web page.  The problem with text controls is that as soon as you move focus onto a text control in the android browser, the soft keyboard pops up.  We really don't want this when the text controls are only there to accept the scanned barcode.

I have tried an event listener on the web page for the KeyDownEvent but I'm just getting garbage. 

Could somebody help out with solutions to either of these two problems:

1. What keyboard events should I listen for on the web page.

2. How do I disable the android soft keyboard for just two text edit controls.

Thanks,

Ed.

CONTACT
Can’t find what you’re looking for?