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, ...
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.
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 ...