Get the progress of EMDK ProfileManager

M Matan Genezia 19 hours 17 minutes ago
12 0 0

Hi

When using ProfileManager with profile that downloads a file (apk in my case), I can see in the logcat the progress of the download 

01-20 17:19:12.108  3584  5076 I StatusMgrService: The message and the typeOfMsg is Downloading app.apk and progress is 30%  1

How can I get the progress programmatically? 
I'm using Xamarin if it matters 

My profile is the following:

<wap-provisioningdoc>
   <characteristic type="Profile">
       <parm name="ProfileName" value="{profileName}" />
       <characteristic type="XmlMgr" version="4.2">
           <parm name="emdk_name" value="executeAll"/>
           <parm name="ProcessingMode" value="1"/>
       </characteristic>
       <characteristic version="10.1" type="FileMgr">
           <parm name="FileAction" value="1" />
           <characteristic type="file-details">
               <parm name="TargetAccessMethod" value="2" />
               <parm name="TargetPathAndFileName" value="{{destination}}" />
               <parm name="IfDuplicate" value="1" />
               <parm name="SourceAccessMethod" value="1" />
               <parm name="SourceURI" value="{{url}}" />
           </characteristic>
       </characteristic>
   </characteristic>
</wap-provisioningdoc>


 

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