2 Replies Latest reply on Jan 21, 2019 7:19 AM by Rakesh R Nair

    Scanner Does Not Turn Off - Zebra TC57 Device

    Rakesh R Nair

      Platform Using - Xamarin Android

      SDK - NuGet Gallery | Symbol.XamarinEMDK

      Version -

      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 Scanner Does Not Turn Off EMDK 5 - 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




      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.



      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.