Keep previous screen rotation? - JASJAR, XDA Exec, MDA Pro ROM Development

Hi everyone!
I searched over the forum to find a way to keep the previous screen orientation when I push the power on button. It's useful when I cradle my Uni in the car...
Seems that I may stop the service "MIS1" but it has several side effects: it's hard to start again (requires registry modifications) and once stopped it doesn't make the screen to rotate anymore.
So, how can I make the screen to remain in landscape when I turned off my Uni in landscape mode?
Thank you for reading...

A solution may be hardware rather than software, if you ok to do such a thing.
Add slider button or similar to disable the internal switch.

Too much invasive for the device...
Since it seems to be a software function to reset to portrait mode every time the device wakes up, maybe there's a way to stop it, or to add a software button to enable/disable this feature...
On MSDN it's explained how to access the screen rotation features but I have no idea on how to do it...
Sound strange that nobody felt the need of such a trick before... Or not in the same way as me...
Thx...

try with mortscript.
use df task manager and configure that script in wake-up notification event.

Thank you for the suggestion, Tomal!
I partially did it.
When I'm driving in my car, I put the screen in landscape because of the cradle and I need the device to stay in landscape mode only in this case.
So I put in SPB Mobile Shell today a link to a script (using a renamed autorun.exe to make it appear in the programs list) that switches between landscape and portrait and writes on a file the status.
Then I added a link in the notifications list using DF's task manager to another script that reads the previous state from the file and flips the screen to landscape only if the file says that the device was in landscape.
Unfortunately WM6 seems to override the script and the screen barely returns to portrait on wake up.
I partially fixed it adding in the "notificated" script a 6 seconds wait time.
Doing this the screen rotate to portrait for a little time then returns, as it was supposed to, to landscape.
I need some more tests to ensure that the wait time doesn't create conflicts with other functions like phone or reminders.
One first upgrade would be to find a way to write on the file the screen status when the device goes to sleep, but I don't know how to do it.
The second, and most important, upgrade would be to understand why WM overrides the rotate function.
Another thought: I made a script that writes on a file the screen status on woke up. If I turn off the device while in portrait mode and I turn it back on, the script writes in the file that the screen is in portrait mode. Seems that when the notification starts the script reads the status wanted by Windows even if the screen appears in landscape for few seconds, then it rotates.
According to this, I supposed that the seconds needed to rotate weren't influent and Windows thought to be in portrait mode. But the other script won't work without a 6 seconds delay...
Any idea?
Sorry for the lenght...

You do not need to write on file, just write on registry.
Create a new reg key and add/remove all your values are there. It's the most reliable way.
just my two cents.

Auzman, don't know if you have found your solution. I was dwelling on iGo (NavNGo), that it sticks to landscape (when set, and I turn off/on Uni). However I think it's sneaky in that it isn't real landscape, but actually changes its images to suit the orientation you choose (in iGo) and totally ignores the PPC's (WM/Uni) orientation. But hey, it does mean I was still thinking of you ha!

Related

TomTom Mobile 5 - Help, how to rotate screen?

Sorry to post in the Tornado forum guys, but I'm trying to solve a problem and I think only you guys can help me. I've got TomTom 5 installed on the Moto Q but after starting the program, the screen is oriented in portrait mode, however, the Q is natively in landscape.
Unfortunately, the displayed images are unreadable and just jumbled. I know that there is an option within TomTom to rotate the screen but without being able read the screens, its a practice in futility.
Can someone that has TomTom installed on their Tornado do me a favor. Can you walk me through the exact steps and button presses from the launch of the program to the rotate screen option. The button should look like an upside down smiley face.
I'm hoping that if I correctly hit the button sequence, the screen will rotate and that I'll be able to make the menus and program legible. Cheers.

Landscaper - screen orientation rotation app

This simple Windows Mobile program will rotate the screen to your selected orientation (left-hand landscape by default).
* Requires .net Compact Framework 2.0
* Tested on HTC Apache but should work on most devices
It receives notification that screen has rotated and then rotates it back to the selected orientation. If the device rotates the display when it wakes up, the program will have to wait until the screen is fully redrawn before trying to rotate it back. It has a user-set delay before it attemps a rotation, and if that is still not long enough, it will retry every 5th second for up to 4 seconds before giving up. Note that the more elements to be redrawn and the more programs running, the longer things will take. Increasing glyph cache may help. Overall it works pretty well on my device as I've made it a habit to hit the power to wake the device before I even have it out of my pocket. I think Vijay's VJuzumaki rotation disabler would be a better solution, but hopefully this will be useful to some until he's able to finish it.
Has there been any update for this app, or is there a better solution? Landscaper still reverts to portrait whenever the phone goes to sleep.
I am so tired of waiting for my screen to change, that I would like to try keeping the device in landscape 100% of the time. It's not that it takes that long, but 3-5 seconds every time, when I use the device a hundred times a day gets annoying.
Anyone know if that rotation disabler program was ever completed?

Open hardware keyboard WITHOUT rotating screen

I'm looking for a solution for a hermes, but assume it would be the same for wizard, kaiser, etc.
I'm often browsing the internet on my phone, and want to type just a few words without losing any screen estate to an onscreen keyboard, and without causing the screen to reprocess to landscape. I especially want to do this as I often have ms reader in the background, and it locks up the whole device while it repaginates the book.
Searching the obvious terms is just leading to people who want to rotate the screen without opening the keyboard - not want I want to do.
Any tips would be appreciated. I either want a way to lock the screen to portrait, or a way to make the device ignore the light sensor which tells it the keyboard is out (but if the keys could still light up, that would be a bonus.)
I`m using Opera, in portrait mode and I get keyboard to write -> the screen of my Kaiser flips in the opposite direction of my keyboard ._.
So yeah, this would be great.
if it works from a light sensor just cover it up with something maybe?
edit: it doesn't work lol, i also have this problem. my phone is too slow to handle this. i bet there's a registry setting for it. if i find anything out ill let you know
Okay, after further searching I found that someone had answered this question.
http://forum.xda-developers.com/showthread.php?t=349760
I now have rotate mapped to a button, (using spb pocket plus, rather than the program in the thread), so I rotate the screen manually when I want.
Lokioki - this solution will probably suit you for your opera problem.

Rotate Screen on Touch Pro

I think I am going mad so forgive me.
Can someone help me to rotate the screen to landscape with the keyboard closed? IE. manually rotate the screen.
I can't seem to find the function anywhere.
or have I missed something?
Thanks.
Just rotate the device?!
This only works in certain apps, like picture etc.
I want the Home screen, and TT7 in Landscape when in the car, and turning the screen doesn't do anything.
Any help?
The Apps themselves need to support the Rotation of the phone by implementing a hook into the Accelerometer/G-Sensor.
Like said above, TouchFlo3D Pictures and Opera do this, but most other apps do not! Just need to wait for later versions or change to landscape mode manually - if supported!
Should be (although HTC may have removed it) in Start->Settings->System (tab)->Screen, and then change the orientation. It's possible HTC removed this functionality though...
I'm guessing that Mortscript will still work on the Touch.
You could use this to rotate the screen then call the app in question?
Then when you quit the app it'll rotate back.
I forgot the name of the app, but it allowed you to rotate the Diamond for any app or any situation in the phone. It should also be able to work on the Touch Pro then.
Its called GSen it works on diamond and probably it should work for this and if its not working just wait for new release.
l3v5y said:
Should be (although HTC may have removed it) in Start->Settings->System (tab)->Screen, and then change the orientation. It's possible HTC removed this functionality though...
Click to expand...
Click to collapse
They have removed this option, but you can bring it back with Schap's advanced config 3.0! I haven't tried it, but I've seen the option there!
Reg Edit to set Talk key to rotate screen manually
Here's a reg hack to manually rotate your screen, only when desired.
In Settings/Buttons/ one used to be able to assign a button to <Rotate Screen>. This feature is hidden on the Touch Pro.
To get it back:
Using a Registry editor, go to:
HKeyLocalMachine/System/GDI/Rotation
Change the "HideOrientationUI" from 1 to 0
Now you can remap the talk key to do this on long press.
Pocketpowermanager puts a little icon at the bottom of the Today screen which rotates the screen (and an icon for power off, and another for soft reset). It's a great application.
Hi there
Both Gens and Gyrator work well on the Touch Pro.
Just Bing them (at bing.com).
David
You can get an application called gyrator 2 which will allow you to rotate without sliding out the keyboard in any screen, so like you can use it in the start menu or anywhere else, http://pocketnow.com/index.php?a=portal_detail&t=news&id=6068

Touch Pro onscreen keyboard landcape with slider closed?

Sometimes I like using the virtual keyboard instead of the hardware keyboard but would prefer to use it in landscape mode. Is it possible to have the virtual keyboard up in landscape mode without having to open the slider? I tried GSen but that didn't work and reading about Gyrator it seems causes more problems than it cures.
Basically I would like to start a new text message (or e-mail) turn the phone and have it switch to landscape.
Second, does the hardware keyboard have a 'punch through'? On my old T-Mobile Dash (WM 6.1) I could hold down a button and have the symbol pop up on screen instead of the letter - saves me from having to hit the "function" key. This works on the TP in virtual mode but not with the hardware keyboard, can this be enabled? Right now holding down the button merely makes the letter repeat like on a laptop.
ItsDon said:
Sometimes I like using the virtual keyboard instead of the hardware keyboard but would prefer to use it in landscape mode. Is it possible to have the virtual keyboard up in landscape mode without having to open the slider? I tried GSen but that didn't work and reading about Gyrator it seems causes more problems than it cures.
Basically I would like to start a new text message (or e-mail) turn the phone and have it switch to landscape.
Second, does the hardware keyboard have a 'punch through'? On my old T-Mobile Dash (WM 6.1) I could hold down a button and have the symbol pop up on screen instead of the letter - saves me from having to hit the "function" key. This works on the TP in virtual mode but not with the hardware keyboard, can this be enabled? Right now holding down the button merely makes the letter repeat like on a laptop.
Click to expand...
Click to collapse
I personally use Gyrator2, I do exactly what you are wanting to do. If you set it up correctly it really is a usefull app.
Second question, No clue.
gyrator 2 works great once you tell it what programs not to work in
it does exactly what you want in texts
You can also "move" your keyboard around the screen with this hack:
HKEY_CURRENT_USER\Control Panel\SIP and change the value of Dragstyle from 0 to 1, followed by a soft reset.
You can grab it and move it anywhere on the screen you like after.
yzf750 said:
You can also "move" your keyboard around the screen with this hack:
HKEY_CURRENT_USER\Control Panel\SIP and change the value of Dragstyle from 0 to 1, followed by a soft reset.
You can grab it and move it anywhere on the screen you like after.
Click to expand...
Click to collapse
i saw that hack but is it in anyway useful ? or just amusing
Thanks for the replies. I just installed Gyrator2 and it does indeed do what I'm asking for! I think I need to get a little deeper into it though as it does some things I wasn't expecting (switch the calling screen to landscape after taking a call etc.) but so far, so good!

Categories

Resources