About
AIWedge is an application service that provides the capability to control and manage IPCMobile's Linea Pro G device to integrate acquired data into new or existing apps using Android Intents APIs. It enables any application on the device to capture data from multiple input sources and format the data as needed using simple options or complex using Magic Filter.
MagicFilters
With MagicFilters, you can write a JavaScript script to process the scanned barcode to determine if it should be accepted or rejected. Check if the barcode contains any target characters, add prefixes and suffixes, or return an entirely different barcode. If accepted, it is sent to the keyboard as a keystroke or broadcast via the Intent API to all the apps set up to receive barcodes.
The returned barcode value can be a simple string or JSON string.
Intent APIs
The Intent APIs enables any app to send an intent with a command to AIWedge, such as start/stop the scan engine or capture an image. Then, the result intent will be sent to the app via the defined Intent APIs.
AIWedge Keyboard
A built-in custom keyboard that can receive barcode and camera data and forward it to the host application’s current active text field by simulating keystrokes.
Accessibility Feature
This app uses the AccessibilityService API to inject scanned barcode data from the scanner into the current active text field. To enable the ability to inject barcodes into active text fields, follow the steps below:
1. Enable “Keyboard Mode” in the AIWedge app.
2. Go to Settings > Accessibility > Tap on AIWedge Input > Enable Use AIWedge Input.
Quick Start Guide and Demo Code
https://github.com/InfinitePeripherals/AIWedge-Android