Barcode scanning on android device


Is it possible to barcode scan on an android device?

It would be a warehouse type device with a scanner

Many thanks

Yes, this can be done using a Cordova plugin.

<plugin name="phonegap-plugin-barcodescanner" source="npm" />

There is more documentation here.

I built a native app to do ticket scanning at a football stadium using a purely javascript library

GitHub - axenox/onscan.js: On-scan events for hardware barcode scanners in vanilla JS

Works great with usb scanners (which we hook up to Android tablets)