I wrote this app to allow a user to lock the screen rotation in landscape, portrait or auto. The app is very simple, when you click on it, you're faced with these three options.
Long press on Landscape if you want the app to run as a background service (only use this if landscape mode terminates on its own).
I searched on the Market for an app that would lock the screen in landscape mode and found only one paid app that does it but actually runs a service continuously in the background regardless of the orientation mode. This app is free and the background service is optional
so without further ado . . .
Change log:
v1.4 Nov 20 2012
+ Added a footer note to expose persistent mode better
v1.3 Mar 9 2012
+ Added a widget that will lock into whatever your current phone's orientaion is. Useful for reverse landscape for example
v1.2.2 Feb 23 2012
+ Short click on portrait/auto will behave like default android portrait/auto. If you want to enforce "auto" long press on it (that way, even the apps that don't go into landscape will).
v1.2.1 Feb 9 2012
+ Added ability to run a persistent background service for both Portrait and Auto modes.
v1.2 Jan 2 2012
+ Locale plugin.
+ Long press on search button to run app.
v1.1 Dec 29 2011
Added ability to long press on Landscape to enforce a background service. Only use this if landscape mode seems to exit suddenly and abruptly.
Thank you very much for this app, madmack.
That's what I've been looking for since like forever ...
With this I can confirm it works almost perfectly with Android-x86 (2.3rc1); "almost" because sometimes an app starts in portrait mode instead of landscape (exiting the app and re-running your Rotation Locker usually fixes the problem).
At any rate, Android-x86 just became a whole lot more usable at least for me.
Thank you very much for this app, madmack.
That's what I've been looking for since like forever ...
With this I can confirm it works almost perfectly with Android-x86 (2.3rc1); "almost" because sometimes an app starts in portrait mode instead of landscape (exiting the app and re-running your Rotation Locker usually fixes the problem).
At any rate, Android-x86 just became a whole lot more usable at least for me.
awesome guys. thanks for your confirmation
I went ahead and released it in the market a few hours ago.
B.Jay, does your screen switch to portrait entirely when that happens or is it just localized to certain apps while the Home screen actually remains in landscape? I'm thinking I might have to implement a persistent service to be run in the background when running Landscape mode if landscape seems to suddenly switch off for the entire system.
B.Jay, does your screen switch to portrait entirely when that happens or is it just localized to certain apps while the Home screen actually remains in landscape? I'm thinking I might have to implement a persistent service to be run in the background when running Landscape mode if landscape seems to suddenly switch off for the entire system.
It's only the app that changes/reverts to portrait mode ... the launcher itself stays in landscape (replaced the stock Gingerbread launcher with LaucherPro, which works perfect in Android-x86). Like I said, when it happens that the app starts in portrait instead of landscape (Google Maps or AndroIRC for example - yes, I managed to successfully inject the Google Apps into Android-x86 to have the Market and stuff) it's sufficient to exit the app, re-run your Locker and start the app anew to have it in landscape mode.
Thanks to your app I'm now able to use my old Eee PC 900A as a Android powered netbook.
Anyway, I'm deeply satisfied with the way it works now, but if you're able to improve the app so it works as a service that keeps the screen orientation locked it would be plain awesome.
Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?