How can I trigger scan process and pass custom data programmatically?

Hi. I'm trying to figure out how to not only trigger barcode scanner programmatically, but also how to pass custom data there without need to do any physical actions with device. I found out that code samples contain code for triggering and toggling scanner, but I didn't find how to pass my custom data there so far. I made attempt to create custom DataEventArgs object with data that I need, but I didn't succeed in that so far as well.
Is there any way to trigger event Symbol.XamarinEMDK.Barcode.Scanner.Data and pass there my custom data inside DataEventArgs using built-in tools?

Darryn Campbell
There is no way to simulate a

There is no way to simulate a scan using the EMDK I'm afraid, the recommended approach is to use DataWedge.  For more information please see https://developer.zebra.com/blog/test-your-zebra-scanning-application-emulator

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Constantine Ketskalo
Thank you, Darryn. I really

Thank you, Darryn. I really appreciate your answer.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments