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
Receiving barcode in Xamarin Android app via DataWedge |
1 Replies
Hi, please see my getting started guide for DataWedge that includes a Xamarin sample: https://developer.zebra.com/blog/getting-started-datawedge-zebra-device…;