2 Replies Latest reply on Mar 9, 2018 9:38 AM by George Kafetzis

    EMDK Android Identification

    George Kafetzis

      Hello to all,


      I am currently developing an application that uses several methods to scan barcodes. The goal is the app to run on every android device. That ofc includes the Zebra devices,  as TC20 and TC55,  which i own.


      I had followed the emdk tutorial on how to scan using the zebra sdk, and it was successful on the TC55 device i tested.


      I have two issues that i need someone to help me.


      1. When i am trying to install the app through the android studio on an emulated device (generic device non zebra brand) i am getting an error that the shared library not exists. The app is not installed.

      To solve that i put <uses-library android:name="com.symbol.emdk" android:required="false" /> in the manifest. That way the app is installed.


      2. On the activity that i am using the EMDKManager, Scanner and other zebra classes i got an error on the activity creation. Probably because the lib not exists. I put the initialization code EMDKManager.getEMDKManager(getApplicationContext(), this) on a try catch clause in order to identfy that there is something wrong so the app is working.


      Is there any other way to acheive that? To identify that there is not EMDK lib on the device.


      Thanks in advance!