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?
How can I trigger scan process and pass custom data programmatically? |
1 Replies
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-e…