Xamarin Android - Is the scanner automatically enabled?

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

Anonymous (not verified)
Hi Justin,Unless and until

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,

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Justin Rogers
Ah, just the clarification I

Ah, just the clarification I was looking for - thanks!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments