Lock an app in landscape - G1 Apps and Games

I was wondering if there was a way to lock apps in landscape mode? For instance, maps. When using maps to navigate I like the phone to be in landscape but it will jump between portrait and landscape with the slightest movement of my leg (the phone is sitting on my leg while I drive) and it gets pretty annoying while trying to follow directions.

I wish.
Apps don't have to be written to be in whatever view. So it can't be forced.
And I've always wanted a root permission that could force apps in landscape but it's never happened.

Icebergxx said:
I wish.
Apps don't have to be written to be in whatever view. So it can't be forced.
And I've always wanted a root permission that could force apps in landscape but it's never happened.
Click to expand...
Click to collapse
Look what I found.
"Also, apps that use the accelerometer directly to reorient themselves sometimes compete with the system doing the same thing, with odd results. And finally, some apps that use the accelerometer to detect things like shaking motions and that don't lock their orientation to portrait or landscape, often end up flipping back and forth between orientations. This can be irritating to the user. (You can lock your app's orientation to portrait or landscape using the 'android:screenOrientation' attribute in your AndroidManifest.xml.)"

1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.

lbcoder said:
1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.
Click to expand...
Click to collapse
The OP doesn't have a keyboard to open (MT3G), so option 1 is out.

This is the DREAM forum. It is therefore, a perfectly valid answer.
For questions about MAGIC, he should go to the MAGIC forum.

lbcoder said:
1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.
Click to expand...
Click to collapse
Option (2) actually isn't difficult.

Related

disable autorotation

can i disable autorotation when opening keyboard?
its so slow i hate it and rather do it manually.
is it really not possible?
kubia said:
is it really not possible?
Click to expand...
Click to collapse
how will u type the text then?
open the keyboard, go to start/settings/system/screen and then pick portrait.
i know how to change it manually.
thats why i would like to disbale the automatic rotation...
Why don't you go to start/settings/system/screen and then pick landscape? It'll always be in landscape and will not rotate when opened.
Pozdrowionka
Out of curiosity... what do you mean by "its so slow i hate it"?
Do you mean it takes too long to switch from Portrait to landscape (and vv)? Or the phone itself seems to become slow when it enters Landscape mode via opening the keyboard?

Landscape mode

"TouchPal supports Landscape mode. You don't switch TouchPal to Landscape mode. Instead, you should switch your device to Landscape mode, and TouchPal will switch to Landscape mode automatically."
How do I put my Diamond in landscape mode?
Thanks,
Jon
You need to tweak the registry.
change->
HKeyLocalMachine/System/GDI/Rotation
Change the "HideOrientationUI" from 1 to 0
change "LandscapeFixed" from 1 to 0.
Then you can swith from settings/screen or change the key(call) to switch orientation.
Or load GSen and have which ever mode you feel like in an instant by rotating the phone.
So with GSen, can I just rotate my phone and so when using typing text messages, the keyboard will get wider?
sort of.... if you rotate the phone, the keyboard will get wider in a sense that its longer with less hight. The keys then shift around slightly.
Try it, its free and its great. Don't like it? Delete it.
Thanks for the Gsen suggestion. I have installed it and it doesn't do anything, even after rebooting.
Start Menu-> Programs -> Gsen
You won't get any acknowledgment on screen or anything, just click it once. If you click it again you will be told its unloaded. Once you have it loaded (by clicking once)..... turn the phone and wait a second
If you like it, you can then copy this to the startup directory so it autoruns when you boot.
edit: it also installs two other apps. Not sure what they are but i've never needed them so don't worry about them, just leave them sitting happily where they are.
Ahh fab! All working now thank you!
No worries ... great app eh!
Something strange happened. I lost the Start menu bar at the top. Cured itself after rebooting. Does this happen often?
aahhh now i had that issue but it went when i put on a cooked rom (Diamond TLR).
Ahh ok. Well, perhaps its time for me to choose a ROM. Now that is going to completely do my head in!

TP on landscape

Just a simple question if anyone is willing to help
How do I keep my phone on landscape all the time?
I have tried going to "settings -> align screen -> landscape" but everytime i close my keyboard goes back to portrait mode . Some say it's due to "clear type" i turned that off and still keeps going back to portrait [I do lot of texting]
So if anyone has any ideas and would like to pass on plz 'n thanks
If you rotate the screen in closed-keyboard(portrait) to landscape,it keeps all the time in LS mode all the time after(keyboard in/out doesn't matter).. You can do it using mortscript,SPB PocketPlus or in a different way.
I have got a opera mobile 9.7 beta and when you rotate screen on landscape with this software and press home button, your screen will be still on landscape
// It is some BUG of opera, but you can use it
TomasNM said:
If you rotate the screen in closed-keyboard(portrait) to landscape,it keeps all the time in LS mode all the time after(keyboard in/out doesn't matter).. You can do it using mortscript,SPB PocketPlus or in a different way.
Click to expand...
Click to collapse
sweetz I will try to get this to work! [by using PPuls most likely] but which one would u suggest!!?
AdamiX said:
I have got a opera mobile 9.7 beta and when you rotate screen on landscape with this software and press home button, your screen will be still on landscape
// It is some BUG of opera, but you can use it
Click to expand...
Click to collapse
I tried it does not work on mine lol but thanks
And also i found program called GSen ot rotates your touch pro !
If you have sk tools (probably even the free version), use the shortcut manager to create a landscape mode shortcut, then copy it into \windows\startup. You should be good to go.
Farmer Ted said:
If you have sk tools (probably even the free version), use the shortcut manager to create a landscape mode shortcut, then copy it into \windows\startup. You should be good to go.
Click to expand...
Click to collapse
I will give this a try thanks bud
In changeScreen you have the choise which orientation you want to use by default. And you can make exceptions. For example, I hate it when bubble breaker starts a new game when I tilt my phone to far, so I've set it up in a way it only uses portrait.
Scalage said:
In changeScreen you have the choise which orientation you want to use by default. And you can make exceptions. For example, I hate it when bubble breaker starts a new game when I tilt my phone to far, so I've set it up in a way it only uses portrait.
Click to expand...
Click to collapse
nope I am running rom that are tf3d2 and I m wanting to the screen on landscape all the time, instead when i close the keyboad going back to portrait? tried everything so far no luck
amitb101 said:
nope I am running rom that are tf3d2 and I m wanting to the screen on landscape all the time, instead when i close the keyboad going back to portrait? tried everything so far no luck
Click to expand...
Click to collapse
hehe im trying to do the exact opposite
I want tf3d to be in portrait all the time, regardless of keyboard in or out.
If i figure out how, ill let you know because it should be easy then to convert to landscape only.
xternal said:
hehe im trying to do the exact opposite
I want tf3d to be in portrait all the time, regardless of keyboard in or out.
If i figure out how, ill let you know because it should be easy then to convert to landscape only.
Click to expand...
Click to collapse
any luck bud?
Nope sorry
I had another thread going and their were a few suggestons but it didnt make any difference.
why not just use screenchanger 2.8 and set default only 2 the landscape of your choice (dont know if ur right or left handed)???
if u chose "enable" and "run on startup" wouldnt that fix everything w/o out using some stupid glich?
all the programs that i have used like gsen etc, dont override the keyboard slide. It seems to have some hardwired switch which overrides all of those programs and forces landscape, and then back to portrait when you slide it back in.

Disable autorotation during sliding keyboard

Hello.
I asked this already 100x,but I got no answer,so I try again.
Is there a way to disable automatic rotation when sliding the keyboard out?
I hate it.
If I need,I can do it manually(maybe 1% of the time I need landscape) and the rotation is unwanted slowdown.
Can someone modify the sensor driver or show me another way,how to achieve this please?
I'll be soooooo lucky then.
Thanks.
?
How do you use the keyboard if the screen is not in landscape mode ?
I doubt there's a know method, because you're maybe the only person in the word who don't want the landscape mode when using the keyboard..
excilion said:
?
How do you use the keyboard if the screen is not in landscape mode ?
I doubt there's a know method, because you're maybe the only person in the word who don't want the landscape mode when using the keyboard..
Click to expand...
Click to collapse
Mostly I am using keyboard for ICQ for really short messages.
Few words I want to write will take 3 seconds normally,but with rotation it takes 20.
It makes me no problem to write "Hi" when notrotated screen.
If you screen rotation back and forth takes 17 seconds,
then there's something wrong with your ROM...
Anyway, I'll try to make a little app for you, but I don't know if it's going to work...
the_ozyrys said:
If you screen rotation back and forth takes 17 seconds,
then there's something wrong with your ROM...
Anyway, I'll try to make a little app for you, but I don't know if it's going to work...
Click to expand...
Click to collapse
Please don't solve this. I want to solve just a simple thing - rotation disable.
Simple
TomasNM said:
Hello.
I asked this already 100x,but I got no answer,so I try again.
Is there a way to disable automatic rotation when sliding the keyboard out?
I hate it.
If I need,I can do it manually(maybe 1% of the time I need landscape) and the rotation is unwanted slowdown.
Can someone modify the sensor driver or show me another way,how to achieve this please?
I'll be soooooo lucky then.
Thanks.
Click to expand...
Click to collapse
I have the perfect idea.....if you don't like or use landscape and you don't want the screen to rotate......DONT SLIDE OUT THE KEYBOARD.....lol.....i'm sure you know there is an on screen keyboard to use in portrait mode when you want to text or instant message. Pretty simple.
I do find it very weird that something like that would bother you, besides the fact that the rotation can lag at times. You should have got an Iphone or something without a keyboard.
I couldn't find any way to make Windows stay in portrait mode, BUT... when you're in landscape it will stay in it! I mean, screen won't change to portrait, when keyboard will be closed. So maybe you want to stay in landscape instead? I've written tiny app to change rotation back and forth...
1. I bought TP,because I USE keyboard(One more thing that leads me to upgrade from Himalaya)
2.Thanks,that I know. Maybe the driver has hardcoded the angle to rotate(270dgs) and I want to change this angle to zero(or in a better way to disable it completely),but don't know how.
I want to use portrait instead of landscape,because is much comfortable for me for 90% of time and apps. I can easily switch to ls by pressing a button.

[Q] app screen rotate

Hi,
I'm looking for a application for my Nook Touch to rotate the screen manually (because Nook Touch don't have sensors).
It will be very nice for web browser.
Did you know that kind of app?
There is nothing app like that. I tried create some, but without success, even start activity from another activity in landscape mode is not possible i think (please correct me, if you know how - I would like to finish tool for starting aplications in landscape mode), but still you can modify your apk.
1) download ApkTool code.google.com/p/android-apktool
2) download your apk application file (I tried on opera mini)
3) use apktool d your.apk apksource
4) edit AndroidManifest file : only add to activity android:screenOrientation="landscape"
5) use apktool b apksource your_modified.apk
6) then the hard part sign it with these steps or some others londatiga.net/it/how-to-sign-apk-zip-files/
7) use adb install your_signed.apk and thats it
Have fun
thank you for your informations.
I will try to modify Opera mini to use landscape mode but it will be easier to have a icon on the statut bar to do the rotation "on the fly"
Hmm, I've noticed that when I tap the status bar to launch the wifi settings popup, it always switches me back to Portrait mode. So that's at least half of the desired functionality.
Also, there's a lot of games (including Angry Birds) designed for Landscape view, launching them to change orientation and launching the application you want could work.
aivi said:
There is nothing app like that. I tried create some, but without success, even start activity from another activity in landscape mode is not possible i think (please correct me, if you know how - I would like to finish tool for starting aplications in landscape mode), but still you can modify your apk.
1) download ApkTool code.google.com/p/android-apktool
2) download your apk application file (I tried on opera mini)
3) use apktool d your.apk apksource
4) edit AndroidManifest file : only add to activity android:screenOrientation="landscape"
5) use apktool b apksource your_modified.apk
6) then the hard part sign it with these steps or some others londatiga.net/it/how-to-sign-apk-zip-files/
7) use adb install your_signed.apk and thats it
Have fun
Click to expand...
Click to collapse
In Theory: Is it possible to modify Apps like Kindle and remove the transitions with ApkTool to make it more eink friendly?
Aldiko app does screen rotation
tebra said:
Hi,
I'm looking for a application for my Nook Touch to rotate the screen manually (because Nook Touch don't have sensors).
It will be very nice for web browser.
Did you know that kind of app?
Click to expand...
Click to collapse
The Aldiko app permits screen rotation, and that rotation persists in other applications, although I don't recall if it does in a browser--the rotation persists in Kindle app.
So we know it is possible!
jahfaby said:
In Theory: Is it possible to modify Apps like Kindle and remove the transitions with ApkTool to make it more eink friendly?
Click to expand...
Click to collapse
It could be possible if You have source code (It's not enough have apk, because apktool don't decompile it). There is "tutorial" how to optimize it http://forum.xda-developers.com/showthread.php?t=1183173
found out that the app permissions denied starts in landscape,
if you go back to your home screen while loading its stays in landscape and you can launch the most apps in landscape mode too (like aldiko workaround)
I just installed ADWLauncher EX on the touch and then went to ADWSettings. In UI Settings I selected Screen Preferences and changed my Home Orientation to landscape. Pretty much puts most apps in landscape, excepting stock nook ones. HTH.
Sent from my NookColor using XDA Premium App
cymoze said:
I just installed ADWLauncher EX on the touch and then went to ADWSettings. In UI Settings I selected Screen Preferences and changed my Home Orientation to landscape. Pretty much puts most apps in landscape, excepting stock nook ones. HTH.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
That's very helpful! I'll try it. Thanks.
There's an app for that.
I'm sorry about the year-and-a-half bump, but this page is one of the top Google results. I have made an app for rotating the NOOK screen, and just about anything else's screen too. You install the app, and when it launches you are presented with two buttons: Portrait and Landscape. Click one and the app exits, sticking the screen in the new mode. Enjoy!
cymoze said:
I just installed ADWLauncher EX on the touch and then went to ADWSettings. In UI Settings I selected Screen Preferences and changed my Home Orientation to landscape. Pretty much puts most apps in landscape, excepting stock nook ones. HTH.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
Amazing

Categories

Resources