Input from External Barcode Scanner

With help from folks here, I created a customer price scanner using a local database. The camera on the old tablet I'm using isn't reliable enough. It just won't focus or scan properly most of the time. I'd like to use a handheld scanner (which I already have) via usb. How can I get the app to watch for keyboard use (which is what the scanner mimics) with a [cr] as the input, rather than the built-in scanner?

I've never used it, but the Serial component might be what you need, if you can get the cabling right between the phone and scanner.

Here's a sample program to try.


serial.aia (2.1 KB)
image