1 Reply Latest reply on Feb 19, 2016 6:43 AM by Brock Davis

    Install APK via MDM results in AccessMgr is not in Register CSP cache Table

    Brock Davis

      When I install my APK to a device using an MDM, I am unable to access some features of the EMDK.

       

      Here is what I see in the logs:

       

      E/MxFrameworkHelper( 2447): bindCSP: sTLC=[AccessMgr] is * NOT * in local registered CSP cache talble !

      E/MxFrameworkService( 2447): isApplicationAllowedCheckByAcessMgr: bind to Accesss Manager failed!

       

      If I adb side load install the APK or install via any other method (load via browser and have system install, etc.) it works just fine.

       

      1. At what point are CSP Cache tables populated?

       

      2. Is there someway to cause the tables to be loaded via Intent?

       

      3.  Is there a permission needed within the MDM to allow for installing APK's that require EMDK?

        • Re: Install APK via MDM results in AccessMgr is not in Register CSP cache Table
          Brock Davis

          Solution to this:  It is Timing issue with EMDK at device boot.

           

          My application is the first to utilize the EMDK after booting the device, I make a call to the EMDK, the call returns success, but underneath the EMDK has failed (table not loaded).

           

          Real solution would be for the EMDK to throw an error when it fails because of table load issue OR gracefully retry the command once the table is loaded.

           

          My work around is to sleep X period of time and retry the command.