Post Reply

[APP] Rotation Locker v1.4 - Landscape & Portrait lock

27th December 2011, 02:40 AM   |  #1  
madmack's Avatar
OP Senior Member
Flag Boston, MA
Thanks Meter: 4,419
 
3,535 posts
Join Date:Joined: Dec 2008
Donate to Me
More
Hello everyone.

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.2 Dec 30 2013
+ Make apk available to google TV devices

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.

v1.0. Dec 27 2011
-Initial release
Attached Thumbnails
Click image for larger version

Name:	new2.png
Views:	8487
Size:	15.8 KB
ID:	834868   Click image for larger version

Name:	device-2012-11-20-112714.png
Views:	1907
Size:	38.9 KB
ID:	1497337  
Attached Files
File Type: apk Rotation-Locker-v1.4.2.apk - [Click for QR Code] (65.7 KB, 3321 views)
Last edited by madmack; 30th December 2013 at 02:59 PM.
The Following 89 Users Say Thank You to madmack For This Useful Post: [ View ]
27th December 2011, 04:41 AM   |  #2  
Member
D-town
Thanks Meter: 8
 
35 posts
Join Date:Joined: Apr 2011
More
Cool, works great on my ICS captivate

Sent from my SGH-I897
B.Jay
27th December 2011, 08:45 PM   |  #3  
Guest
Thanks Meter: 0
 
n/a posts
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.
27th December 2011, 09:25 PM   |  #4  
madmack's Avatar
OP Senior Member
Flag Boston, MA
Thanks Meter: 4,419
 
3,535 posts
Join Date:Joined: Dec 2008
Donate to Me
More
Quote:
Originally Posted by B.Jay

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.
27th December 2011, 11:53 PM   |  #5  
androidboss7's Avatar
Senior Member
Flag Ice-Cream Sandwich CITY!!! ;);)
Thanks Meter: 83
 
1,388 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Testing.....

Sent from my LG GT540 using xda premium
28th December 2011, 12:03 AM   |  #6  
UKseagull's Avatar
Senior Member
Thanks Meter: 94
 
1,254 posts
Join Date:Joined: Apr 2008
Also testing, thanks!

Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
28th December 2011, 09:14 AM   |  #7  
K Dotty's Avatar
Senior Member
Flag London
Thanks Meter: 359
 
875 posts
Join Date:Joined: Nov 2010
More
Didn't work for me, tried with different lookscreen types (ring, slider and lenses) I'm using a cm7 based rom.

Sent by wiggling my big toe
B.Jay
28th December 2011, 11:39 AM   |  #8  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by madmack

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.
28th December 2011, 08:34 PM   |  #9  
vibranturk's Avatar
Senior Member
Flag Ankara
Thanks Meter: 2,296
 
622 posts
Join Date:Joined: Dec 2011
Donate to Me
More
cool i will try ın ics
29th December 2011, 10:44 AM   |  #10  
Senior Member
Flag Tampere
Thanks Meter: 13
 
108 posts
Join Date:Joined: Dec 2010
More
Works like a charm on SGS running CyanogenMod.
Thanks, been looking app like this, but none of them worked on my phone

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Android Apps and Games by ThreadRank