can we install from soti mobicontrol an apk developed by my company, approving all necessary permission automatically in silent mode?

NG
Nigro Giovanni
CALZEDONIA S.P.A.

Hi to all we need to install an add-on of our software developped by us internally.

We have to deploy a new apk usnig soti Mobicontrol but, we have no possibility to ask to no one to phisically interact, because our device are very very alot and all have a lockdown menu.

If we manually install the apk, we have only confirm manually the complete access of files, but how we can automatize this operation ?

Family OS are: Android 9 and 11, the first family with Android Classic agent, the second one with Android Enterprise work managed mode.
Device Brand Honeywell

We are spoking about device not new but alredy installed in various place in more then 60 Nations.

Thanks.

8 months ago
SOTI MobiControl
ANSWERS
RK
Radim Kadlec
8 months ago

As I understand it, you need to automate the setting of All Files Access permission.

For Honeywell devices, this can be accomplished by adding the following section to the DeviceConfig.xml file:

    <Section name="Other settings">
        <Key name="Grant Run Time Permissions">com.example.yourapplication:android.permission.MANAGE_EXTERNAL_STORAGE</Key>
    </Section>



Put DeviceConfig.xml to /sdcard/honeywell/persist/ and reboot.

Example of DeviceConfig.xml content is below:

<?xml version="1.0" standalone="yes"?>
<ConfigDoc name="DeviceConfig">
    <Section name="Other settings">
        <Key name="Grant Run Time Permissions">com.wavelink.velocityfileassistant:android.permission.MANAGE_EXTERNAL_STORAGE</Key>
    </Section>        
</ConfigDoc>
MD
Matt Dermody Diamond Contributor
8 months ago

Confirming the same!

Enterprise centric device brands like Zebra and Honeywell have built and provided mechanisms for silently granting run time permissions like this that otherwise would have to be manually granted by end users. These sort of enterprise class features are what differentiate these device manufacturers from more commoditized options on the market.

V
Visua
8 months ago

Hi everyone,

does anyone know how to perform the same task on Zebra devices?

RK
Radim Kadlec
8 months ago

On Zebra devices you can achieve the same using MX, Zebra StageNow respectively.

Use AccessMgr, set Permission Access Action to "Grant Permission to an Application" and Permission Name to "Manage External Storage". Fill-in Application Package Name with your Android package name like com.myapp. The most challenging part is to create Application Signature (CRT file).
To create the CRT file you need to have SigTools and your .apk file.
Syntax is:
java -jar SigTools.jar GetCert -INFORM APK -OUTFORM DER -IN com.myapp.apk -OUTFILE com.myapp.crt

Good luck!

S
SKMOD@SOTI
8 months ago

Hi Nigro Giovanni,

Thank you for your post on SOTI Pulse.

Thanks Radim and Matt for responding to the post, your expertise and willingness to help are greatly appreciated!

Could you kindly let us know if your issue has been resolved?

If you have any additional questions or concerns, please don’t hesitate to reach out. We are here to provide support and assistance whenever you need it.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |