Ability to set Home & Lock Screen via script

JM
Johnathon Marshall
Saint Elizabeth Healthcare

Good Afternoon,

I'm looking to set the Home & Lock Screen of our Android 9.0 devices running MobiControl v13.7.3.1045 with a script. So far I've been able to configure the lock screen using the script below but I am struggling to find a script that will set the homescreen as well.

writeprivateprofstring LockscreenOverlay WallpaperPath "%sdcard%image.jpg"
apply LockscreenOverlay

In the documentation for the writeprivateprofstring command the syntax is as follows:

writeprivateprofstring section [key] [value]

Where the section is the name of the section in the .ini file to which the value will be written. If the section does not exist, it will be created. The name of the section is case-sensitive.

Where can I find the .ini file that has all the values I can modifying using the writeprivateprofstring command?


Regards,
Johnathon
6 years ago
Android
ANSWERS
JD
John Doe
6 years ago

this worked on a Honeywell CT60 Device:

set_wallpaper %sdcard%/CT60_Homescreen.png

JM

Unfortunately this did not work on my device (Samsung A50 or A70)

JD
John Doe
6 years ago

What is shown when you switch the wallpaper manually, while having watchsettings active?

EG
Edgar Gomez
5 years ago

Hello

I tested set_wallpaper in  Android Enterprise DO, and it worked !

I would like to see this as a configuration in Mobicontrol profiles.

SJ
Sebastian Jordan
4 years ago

set_wallpaper worked fine for me. except the fact, that the image is not centered on the screen.

is there an option to the set_wallpaper command to center the image?

Im using

MobiControl 15.2.1.1094

TC51/56 using Android 8.1

Agentversion 14.4.2.1039

SJ
Sebastian Jordan
4 years ago

Solved it by just editing the resolution of the used picture to match the scren resolution of the TC51