Take the 2-minute tour ×

Hs there any chance to rotate the screen on Android programmatically for the whole system? Background is that I'm using a CMPC-device which features a non-Android-supported rotation sensor, and as a quick fix, I'm planning to write a small app that changes orientation for the entire system. Is there any function available for this purpose? I couldn't find anything on the documentation :(

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

You can find what you want here :


share|improve this answer
Thanks - for me, this article looks like it would only work for the current application - not for the whole system - or am I wrong? –  tensai Jan 22 '12 at 21:20
Yeah, that's right, but i don't think it can be done... –  Bourbon Jan 23 '12 at 3:57
add comment

App can't change orientation for entire system. I guess, you need to make custom build of Android for this purpose.

share|improve this answer
Is there any chance to change it during runtime in a custom build? Is it stored somewhere in a file? –  tensai Jan 22 '12 at 21:21
Obviously many apps allow to change orientation for specific apps or the whole system on Play Store. It probably requires root only. –  3c71 Jun 26 '13 at 15:42
add comment

Your Answer


