Xamarin Android - Is the scanner automatically enabled?

J Justin Rogers 2 years 11 months ago
4 1 0

I'm working on a Xamarin Android application for the TC20 scanner, I've pulled in the Nuget package and added the necessary entries to my AndroidManifest file.  When testing a simple activity, I noticed that the barcode scanner was enabled even though I had not yet added any code to enable to enable the scanner through the BarcodeManager. 

When testing the barcode content was correctly placed in an input field, is the default scanner automatically enabled?  I didn't expect this to work without explicitly enabling the scanner object

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi Justin,

Unless and until you enable the scanner object (or initialize the EMDK) in your native application then the scanner is controlled via DataWedge (About DataWedge - Zebra Technologies TechDocs ) meaning when you pull the trigger you will see the scanner beam configured as defined by Profile 0 in DataWedge.  Once you initialize the EMDK within your application then DataWedge is disabled.  You can also completely disable DataWedge from the DW settings menu: DataWedge Settings - Zebra Technologies TechDocs

We do this to provide a better out of box experience so somebody can just take the device out of a box and start scanning without having to configure anything.

Thanks,

CONTACT
Can’t find what you’re looking for?