barcode warehouse stock scanning

Honeywell Xamarin Scanning SDK

The Honeywell Xamarin sample code uses static event handlers.

This works well enough for a single activity, however extending the sample code to work with multiple activities resulted in issues for us. We experienced “double scans” when activities were opened and closed repeatedly. The reason behind this was static event handlers that were not being unsubscribed in the sample code.

Our other barcode scanner integrations utilize the best practice of opening and closing the barcode scanner in each activity that uses scanning.

This is difficult to achieve with Honeywell’s existing sample code so we have adapted it to demonstrate our approach for multiple activities.

Please note this is implemented for one shot scanning only, using Xamarin Android, not Xamarin Forms.

Here is the link to the sample code.

All rights and licensing belong to Honeywell.


You may also like…