Android Enterprise lock screen in landscape

J
Jln145
Meyer & Meyer Holding GmbH & Co. KG

Hello,

I try to lock the screen of my Zebra TC52 in landscape mode via script. Does anyone know if that's possible?

Currently I'm using this script:

writesecuresetting -sys accelerometer_rotation 0

It disables the autoscreen rotation, but it locks in portrait mode. I need it in landscape mode.

Device is a Zebra TC52 with Android 10 Enterprise, Agent 14.5.3

Thanks for your help!

4 years ago
Android Scripting
ANSWERS
JK
Jason Klotz
4 years ago

Will this work?

Example

To set the orientation of the lockdown screen to landscape:

lockdownorientation landscape

To set the orientation of the lockdown screen to portrait:

lockdownorientation portrait

J
Jln145
4 years ago

Thanks for Your answer, Your commands are setting the lockdown menu to landscape, but not the applications I start from there.

The applications are still in portrait mode

JK
Jason Klotz
4 years ago

Sorry I didnt even read my own script close. Let me look for my other cheat sheet as I was asked to do something like you were doing a few years back.  It might come down to how the App was wrote. Meaning if the vendor says I only want my app to display this way then you might not get a choice for that app. However others you might get the choice to display in however the screen is set.

MD
Matt Dermody Diamond Contributor
4 years ago

This capability was added in MX 10.5. You'd have to update the TC52 to a new enough LG version to get it to the MX 10.5 level first, but then this configuration should apply.

J
Jln145
4 years ago

It looks like the MX10.5 Version isn't released for TC52 yet. Latest LG29 is MX10.4.

I think there will be an update soon. Then I will try your commands.

Thanks for your help!