tensai
tensai

Reputation: 105

Manually rotate screen

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 :(

Upvotes: 3

Views: 5127

Answers (2)

Sergey Glotov
Sergey Glotov

Reputation: 20346

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

Upvotes: 2

Bourbon
Bourbon

Reputation: 1065

You can find what you want here :

http://www.anddev.org/rotate_screen_from_code_change_screen_orientation-t2687.html

Upvotes: 3

Related Questions