Skip to content

OBLS-822 Capture DataWedge scans via intent broadcast#423

Open
olewandowski1 wants to merge 1 commit into
developfrom
OBLS-822
Open

OBLS-822 Capture DataWedge scans via intent broadcast#423
olewandowski1 wants to merge 1 commit into
developfrom
OBLS-822

Conversation

@olewandowski1

Copy link
Copy Markdown
Collaborator

https://openboxes.atlassian.net/browse/OBLS-822

Changes

Instead of chasing the focus/input-connection race on the keystroke path, capture scans via DataWedge's intent (broadcast) output, which is independent of which field is focused.

How to test (no Zebra required)

Run the app, open a scan screen, and from a connected device/emulator:

adb shell am broadcast -a com.openboxes.android.ACTION --es com.symbol.datawedge.data_string "0123456789" --es com.symbol.datawedge.label_type "LABEL-TYPE-CODE128"

The value should populate the field and drive the normal scan flow. (label_type is optional; the app only acts on data_string.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant