disable screen rotation

Solved
H
Henrik
Dana Lim A/S

I am running soti mobicontrol and Surf on Zebra MC33, android 7.1

I would like to disable the screen rotation, locking the screen in portrait mode.

I have tried to send a script "lockdownorientation portrait" but with no luck.

Any suggestions?

7 years ago
Android
ANSWERS
S
SMod@Soti
7 years ago

Hi Henrik,

Can you please try the following script on one test device:

writesecuresetting -sys hide_rotation_lock_toggle_for_accessibility 1 
writesecuresetting -sys accelerometer_rotation 0

Please let me know if it works.

Thanks

Solution
H
Henrik
7 years ago

Yes, it did work.

Thank you

A
Alexander
7 years ago

Hello!
Confirm that this worked on Zebra TC56 Android 7.1.2

JW
Johan W
6 years ago

Hi

Do you have a script for this on Android Enterprise?

We know that the setting is available in Settings Manager but we want it to be set as default.

RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

There is currently no MobiControl script to do similar thing for Android Enterprise devices.

JW
Johan W
6 years ago

Yes, and that's why SOTI should add it. Or to be able to send a payload of automatically deployed settings through Settings Manager.

M
Maxou
4 years ago

Hello,

Do we have a solution to block the screen in landscape mode using script or other for Zebra TC21/Android 10 Enterprise.

I'm block for the moment, can someone help me please ?

Thanks in advance.