I used to have a zebra scanner device running where a broadcatreceiver event was registered
var filter = new IntentFilter("com.rs5100.data");
RegisterReceiver(receiver, filter);
the action string was defined in the dataWedge app and scan events were received.
Now I'm trying to get it running on a zebra ws50 device, but I cant figure out what action to register the BroadcastReceiver to. When scanning logcat emits:
scanner data received: Bundle[{com.motorolasolutions.emdk.datawedge.source=scanner, com.symbol.datawedge.source=scanner, com.symbol.datawedge.label_type=LABEL-TYPE-CODABAR, com.motorolasolutions.emdk.datawedge.data_string=C9991C, com.symbol.datawedge.data_string=C9991C, com.symbol.datawedge.scanner_identifier=INTERNAL_IMAGER, com.motorolasolutions.emdk.datawedge.label_type=LABEL-TYPE-CODABAR, com.motorolasolutions.emdk.datawedge.decode_data=[[B@b604fd], com.symbol.datawedge.decode_data=[[B@b604fd], com.symbol.datawedge.decoded_mode=single_decode}]
but no matter what action I try, the scan is not received in the application.
- com.symbol.datawedge.api.ACTION
- com.symbol.datawedge.DWDEMO
- com.symbol.datawedge.intent.ACTION_DATAWEDGE_BROADCAST
or do something with a Bundle? As that is what logcat emit. Bundle{....}
Programmatically sending Intent to Zebra's Datawedge app worked. I snipped out some settings where barcode scanner settings were chenged
Then every app can subscribe to the registered intent action and make to use the same string as com.device.data.