I'm using TC20/MC3300 for an inventory app using EMDK for Android Studio. I've 2 EditText, Barcode & quantity. When bar code scanning is finished focus is changed to quantity. Now user can input some value, and/or just confirm ("1") with Enter key.
However I'd like use SCAN key as Enter on quantity field.
So, how to check if SCAN button is pressed or released on Android devices ?
It would be better to use the PTT key (left side key below scan trigger) which has a default keycode of 284.
Points: 0
You voted ‘up’
There is some undocumented Broadcast Intent you look into (I know it works on TC56, TC75x):
com.symbol.button.L1
com.symbol.button.L2
com.symbol.button.R2
and it looks like TC20 also is using these when I viewed the logcat.
Points: 0
You voted ‘up’
This seems to stop working with TC52 on Android 8.1
Anybody an idea how to detect the scanner buttons without scanning.
Points: 0
You voted ‘up’