1 Reply Latest reply on Feb 21, 2019 7:25 AM by Darryn Campbell

    Android EDMK Manager Data Capture Profile not used

    Felix von der Heide

      I have a Problem with applying a custom profile to my app. It should be a basic thing to enable only the decoders "Interleaved 2of5" and "Code128", but it does not work.


      Some things to note:

      • My processProfileAsync returns SUCCESS, but the scanner does not send data to the Scanner.DataListener::onData.
      • When I set the profile to some profile existing on the device, e.g. "DWDemo",  I get FAILURE on profile processing, but am able to scan some codes (e.g. Code128). So there is some kind of fallback Profile. But this also means my code generally works.


      I guess there is a Problem with the EMDKConfig.xml (see attachment), even though I used the EMDK Profile Manager to build it.


      Here is how I call the profile manager (Kotlin Code).


      override fun onOpened(manager: EMDKManager) {
              emdkManager = manager.apply {
                  barcodeManager = getInstance(EMDKManager.FEATURE_TYPE.BARCODE) as BarcodeManager
                  profileManager = getInstance(EMDKManager.FEATURE_TYPE.PROFILE) as ProfileManager 
              profileManager.addDataListener {
                     "ProfileManager profile name: ${it.profileName},
                      status: ${it.result.statusCode}")


      Can someone help me to set a Profile that works for the decoder types above?


      Device: TC77ML

      OSX: QCT.81.8.9