1
vote
0answers
109 views

map physical button to auto-rotate switch in android?

I would like to map the auto-rotate lock toggle/switch/setting to a physical button in a device. how do I do that? On the linux side of android, in linux/input.h, there are different KEY events, ...
2
votes
1answer
3k views

Lock screen Orientation on nexus 4

Is there a shortcut to lock the screen orientation on the nexus 4 with android 4.2.1? I read you can swipe down from the top right corner on the nexus 7 but haven't found any info for the 4.
0
votes
2answers
1k views

Screen orientation on Samsung Galaxy 9000

When I have my samsung galaxy 9000 (with Android 2.2) on a flat surface (table) and start an application, then the application is shown in landscape mode, even when the start/home screen was in ...