EMDK ProfileManager

P Patrick Kirsch 3 years 7 months ago
36 2 0

Hello,
 
I'm really new to programming with EMDK on Android and currently in the progress of programming an App for my company special for the TC56/51.
Now i'm stuck with the ProfileManager, i'm trying to upgrade the app via the AppManager feature to accomplish this I'm setting the Profile in the extra Data:
extraData[0] =                      "" +                      "" +                      "" +                      "" +                      "" +                      "" +                      $"" +                      "" +                      "";                      var emdkStatus = eMDKProvider.ProfileManager.ProcessProfile("UpdateMobileClient", Symbol.XamarinEMDK.ProfileManager.PROFILE_FLAG.Set, extraData); 
But the only Result i get is this:
                                                       
So far i was not able to find any solution, the the APK file is in the right spot.
 
I really don't know how to get more information why the profile does not work or  were my problem is.
 
I hope someone can help me out.
 
Patrick

Please Register or Login to post a reply

2 Replies

P Patrick Kirsch

Hello everyone,

I now found my bug, i was using a second EMDKListener, that steels/reInit the EMDKManager and the profilemanager is so not longer working...
Sry for that :/
I now fixed it, and it works, but i can't upgrade the app, is it possible to upgrade the app itself, while it is running?
(should i make a new thread)

Thanks for all your help

Patrick

E Efkan YILMAZ

Hi,

That error would indicate that something has gone wrong opening the EMDK service, perhaps you invoked the API before it was ready?  I suggest taking a look at the sample app for application installation: App Manager - Zebra Technologies TechDocs , hopefully that will be a good starting point to figure out what is going wrong.

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