Ability to set Home & Lock Screen via script

Ability to set Home & Lock Screen via script

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 Answers

Order By:   Standard | Newest | Votes
John Doe | posted this 12 September 2019

this worked on a Honeywell CT60 Device:

 

set_wallpaper %sdcard%/CT60_Homescreen.png

Kind Regards John

  • 0
  • 0
Johnathon Marshall | posted this 12 September 2019

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

  • 0
  • 0
John Doe | posted this 13 September 2019

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

Kind Regards John

  • 0
  • 0
Edgar Gomez | posted this 03 February 2020

Hello

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

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

  • 3
  • 0
Sebastian Jordan | posted this 02 March 2021

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

  • 0
  • 0
Sebastian Jordan | posted this yesterday

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

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback