I’m developing an app for an ET40 device using EMDKManager. While the app functions well, I’ve encountered an issue with the scanner staying active for extended periods, which significantly impacts the tablet’s battery life.
My objective is to implement a presentation mode that activates the scanner only when it detects movement. However, I haven’t found much information in the documentation regarding this feature. Could anyone provide some code snippets or guidance on how to modify the scanner configuration to achieve this?
Additionally, I’ve been experiencing an exception whenever I attempt to access the following methods:
kotlin
Copy code
config?.readerParams?.readerSpecific?.laserSpecific?.aimType = ScannerConfig.AimType.PRESENTATION
config?.readerParams?.readerSpecific?.imagerSpecific?.aimType = ScannerConfig.AimType.PRESENTATION
config?.readerParams?.readerSpecific?.cameraSpecific?.aimType = ScannerConfig.AimType.PRESENTATION
The exception doesn’t provide relevant information, making it challenging to debug. Any insights on why this might be happening and how to resolve it would be greatly appreciated.
Do I need to add any specific permissions to be able to change these details of the scanner configuration?
Thanks in advance for your help!