This simple app demonstrates one of many applications for USB keyboard class. Generally it is no different from any other basic barcode scanner app, however it is able to use InputStick to emulate USB keyboard and use it to type scanned codes. For example: it can type scanned codes directly into spreadsheet application (Calc/Excel). There is no need to install any programs or drivers on PC, just plug InputStick into USB port. What's also important it will work with any OS (Windows/Linux/MacOS/Android etc). App uses ZXing library for scanning barcodes/QR-codes. Now a quick overview:
In Main activity there are four buttons: "Scan" to scan barcode/QR code, "Type" to type result, "Connect" to initiate connection to InputStick device and finally "Settings" to open Settings activity.
Here we can configure applications behaviour. I think checkboxes are pretty much self explanatory. OK, lets see how it works. After pressing "Scan" button we can use phone to scan a code, which will then appear below "Scan" button. We can use "Type" button to type it using InputStick.
|After scanning code.|
|Spreadsheet application (Open Office Calc).|