Hi,
I'm implementing a barcode integration based on a Zebra TC26 in the Android part of a Xamarin Forms application.
I' trying to get the barcode using an IntentFilter and a BroadcastReceiver.
With this code :
IntentFilter filterScan = new IntentFilter("com.symbol.datawedge.api.RESULT_ACTION");
filterScan.AddCategory("android.intent.category.DEFAULT");
MainActivity.ActivityContext.RegisterReceiver(new DataReceiver(), filterScan);
the OnReceive method of DataReceiver (which is a BroadcastReceiver) is never triggered.
Thanks.
Regards,
Guy
Hi, please see my getting started guide for DataWedge that includes a Xamarin sample: https://developer.zebra.com/blog/getting-started-datawedge-zebra-devices
Points: 0
You voted ‘up’
Hi. Thanks four your answer. The intent settings in the DataWedge configurator app were missing. it works now.
Kind regards,
Guy
Points: 0
You voted ‘up’