Hello,
We are using a MDM solution (SOTI) in order to deploy the Parallels client on all the devices.
We have no problems with the installation of the APK itself but we would like to inject automatically the parameters itself (including the password if possible).
We have defined a X2C file but the application is not authorized to access the file (and we didn't find any parameters to authorize such access for the application).
Here is our postinstall code:
;; program executed with XML flow and variables
sendintent -a "intent:#Intent;action=android.intent.action.MAIN;component=fr.solutys.filesettings/.MainActivity;S.LoginProginov=%CustomAttr:LoginProginov%;S.NomTerminal=%CustomAttr:NomTerminal%;S.file-modify=/sdcard/solutys/servers.2xc;end;"
sendintent -a "intent:file:///sdcard/solutys/servers.2xc#Intent;type=application/2xc;action=android.intent.action.VIEW;launchFlags=0x10000000;end"
We also tried to copy the X2C file in the "data" folder without success:
copy %sdcard%/Download/servers.2xc %sdcard%/Android/data/com.parallels.client/files/Parallels Client/servers.2xc
Can anyone help?
Thanks in advance.