I am wanting to gather some performance metrics when performing scans in the field. Is there any way to capture how long a scan took/ how many attempts were made before a value was read?
I have tried implementing a key listener to listen for the hardware key but I couldn't capture any key event for it so I'm not sure if this is possible. I am using a broadcast receiver and intent pattern so I don't have any hardware handles to inspect, only a reference to the Emdk service.
Is there any way to do this? Also note I would rather not use a soft trigger just to get this functionality as I think it detracts from the user experience given a hardware button is much more practical in the field.