Scanner Does Not Turn Off - Zebra TC57 Device

R Rakesh R Nair 3 years 7 months ago
253 1 0

Platform Using - Xamarin Android
SDK - NuGet Gallery | Symbol.XamarinEMDK 3.0.0.41
Version - 3.0.0.41
Issue - Camera is always on.
The devices I am using - TC25, TC25 Lite, TC57

In our application we have implemented barcode scanning using EMDK Library. But only for TC57 We are facing one issue. The camera is active even in app launch. The issue was there for other device(TC 25 & TC25 Lite) as well initially. And based on the discussion mentioned in this - Link. I have disabled the DataWedge Enabled property in DataWedge App and it starts working. But for TC57 device I cannot find anything related to DataWedge.

Please find the attached  sample app implementation

https://1drv.ms/u/s!AvViv73b1oOohVf4v11TPeZrv9bC

Based on the EMDK Sample from Github, I created a control that can accommodate  both Zebra device & Normal device.
In the sample app
Xamarin.Barcode.Control - is the control (Renderer implementation) For Xamarin forms.
Zebra.Droid - is the implementation of EMDK Library
ZebraScanningSample & ZebraScanningSample.Android - is the Xamarin & Platform specific project respectively.

Could you please review the code and let me know what actually missing from my implementation.

Note
1. The control is being created only when the user is Navigated to the scanning page. Still the camera is active during the app launch.
2. The disabling & Enabling of camera works fine in Scanning Page.
3. The control is getting disposed when the user navigates back. So no instance is running after back navigation.

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Hi, all Android Zebra mobile computers (including the TC57) come with DataWedge, it should be available from the app launcher.  To disable DataWedge, launch the app, then press the 3 dots then settings.  From the settings menu you can disable DataWedge to prevent the scanner enabling until you launch it with the EMDK.

CONTACT
Can’t find what you’re looking for?