In the version 2.0.339 of Addreality Player integration with Android barcode scanners and price checkers manufactured by Motorola/Zebra/Symbol was introduced.
As a test device price checker CC5000-10 with Android 5.1.1 was used. This device has specialised software called Datawedge for setting up barcode scanner interaction
Addreality Player can recieve data from barcode scanner as a keyboard buffer and use system intent objects. Intent is an object used to deliver messages which can be used to request an action from a component of another app.
Addreality Player can recieve values by
- action com.addreality.player.BARCODE_SCAN
- category android.intent.category.DEFAULT,
- message tags com.addreality.player.barcode or com.motorolasolutions.emdk.datawedge.data_string (this tag is used by CC5000-10).
Datawedge setup example:
A profile is created and all existing Addreality Player Activities are added
Barcode input is enabled and othes settings are left as default
Keystroke output is deactivated
Intent output is activated and fields Intent action, Intent category, Intent delivery are set up
Intent action = com.addreality.player.BARCODE_SCAN
Intent category = android.intent.category.DEFAULT
Intent delivery = Broadcast intent