Programming Screen Rotation - MDA II, XDA II, 2060 ROM Development

Does anyone know how to programatically set a button to rotate the screen? My standard button settings allow this setting but I am using a button enhancement utility that doesn't provide screen rotation as an option.
All I've managed to find is the screen rotation service but I don't know how to execute it.
Many thanks,
Cojo

cojones said:
Does anyone know how to programatically set a button to rotate the screen? My standard button settings allow this setting but I am using a button enhancement utility that doesn't provide screen rotation as an option.
All I've managed to find is the screen rotation service but I don't know how to execute it.
Many thanks,
Cojo
Click to expand...
Click to collapse
when you say rotate do you mean 360 degrees? Or you just want to make the screen from portrait to landscape?
master g.

just the normal portrait <-> landscape rotation.

cojones said:
just the normal portrait <-> landscape rotation.
Click to expand...
Click to collapse
Attach is the cab file for the rotate screen program. I suggest you may want to upgrade to Windows Mobile 2003 Second Edition. There are some available ROM in this forum. Some are Asian ROM and some non-Asian ROM, what you can do is run this and later on customize your GPRS/Internet/MMS Setting. If you dont use them (the latter mentioned) then there is no problem. ROM by region differs only in Telcos but program-wise they are the same.
You can also run the attach file but I have not done this. All i can say is that you back up all your data then install this one. If it works then good for you and if not then you have to hard reset and restore from bacjk-up.
To install just copy the cab file to your pocket pc, and in the pocket PC just click on it and it will automatically install..
I suggest you read more forums you will see more detailed explanation on what you can do with your Pocket PC.
Good luck.

Related

Rotate your WM2003SE screen from start menu.

For all of those who are now running SE thanks to dcs and others. Just download this little app, unzip it, run setup when connected via activesync and then add it to your start menu. Works like a charm and saves having to hard map a button to rotate your screen we are already limited to buttons as it is. I just put it at the top of my start menu and can use from any application of course. Thank you guys for all of your hard work.
not bad at all. but what i did was use phm plus; it gives you the short cut icons to the items in the settings folder (like bt, clock, input, etc). in this case i copied the "screen" shortcut and had it appear in the today screen using tdlaunch. just click on the icon and the option for landscape or portrait comes up.
cheers
thanks .. that was a very nice utility ..
Cool, another way is to assign it a hardware button, very easy t flip on the fly.
RE
Hi ZeroXtreme!
If you'll to assign the RotateSE to a hardware button its slower than the default Rotate Screen because of the rotating circle.
I think creating a shotcut on the Today screen launcher program is still a better choice and it can also relieves one of the hardware buttons for other use.
Thnx
Works as intended...
thats weird :? ...
does'nt WM2003SE has a <Rotate Screen> at "Assign a program:" list in Buttons section ?! :?:
in my i-mate JAM i can rotate the screen between 'Portrait' and 'Landscape(right-handed)' by pressing "Record" button
i wonder if xda2 wm2003se has it or not, coz mine gone junk while i'm upgrading to chines rom SE
later 8)
@NightmarE
Yes, it does have the hardware button assignment, the problem is that most of us have already used all the hardware buttons for other tasks, so a Start menu option is a nice solution...
I agree I have upgraded to the blue angel but having it in the start menu is much better than hardmapping it to a button, I posted the app for those who want a different option, if you want to waste a button on just rotation then be my guest but some of like myself don't use screen rotation that often then it is better in the start menu and not on a button that I need, considering I use alot of apps like Microsoft Voice Command.
It os better to have it in the Start Menu than in a Today Screen, if you are in the middle of a app it is easier to just open the Start Menu and rotate than go through settings->screen or close then today then back to the app...
I'm using SPB Pocket Plus and add "rotate screen to the right" to close/minimize dialog ... That's just how I do it. Free Up start menu slot for my other frequently used apps.
Right now I'm quite a happy XDA2 user
use PHM utility to add a shortcut of RotatSE in Task bar near by bluetooth icon it will be like i-mate Jam icon 8) ...
laters :lol:
I assinged one hardware button to flip the screenand made the flipting system easily and fast...
Works great on the Treo 700wx. Thanks!
Hi, is ROM version 1.66.00WWE a wm2003SE?
Just tried the software a while ago but it didn't work.
Is there a version of this working on wm2003? just found out that my phone is not wm2003SE version but a wm2003, software not compatible with wm2003. :c
Works ok, but...
Hi.
It works fine, but how I configure it to rotate to the other side (clockwise) ??
Thanks in advance,
Joe

Rotate screen application

Since I couldn't find it anywhere else I just made it myself
My Hermes allows me to rotate the screen using a hardware button assignment or using the HTC Home plugin. Using a 'touchflo'-like application -with no hardware button to spare- it was annoying going back to my today-screen to rotate the screen.
It turned out the Compact Framework 2.0 has this nice class which would do the trick: Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation
So I "wrote" exactly 10 lines of code (including class/function def) to rotate my screen.
Anyone interested: download and install the cab.
+ Does not remain in memory: rotates the screen and exits
+ Now you can create a shortcut to rotate the screen
+ tested on a Hermes (TyTN)
- Requires Compact Framework 2.0 (should be default for Windows Mobile 6.0)
- CF is a huge overhead when only needed for this program, but I'm to lazy to go for the API call (ChangeDisplaySettingsEx)
- No settings: rotates 90 degrees counter clockwise (or 90 degrees clockwise with the Rotate Screen CW cab) -on my TyTN it matches the screen setting when the keyboard slides out-
- Icon is but-ugly
- Not tested on other hardware, but I expect the worst thing that could happen is a frozen device which will work nicely after a soft-reset. My expectation is based on the fact it's a CF 'call' and not an API call, therefore it does not write to memory locations directly.
Use 'as is'.
I might be tempted to add 'settings' if people actually would use the program and have requests...
When installed on other devices: a message would be appreciated (even if is doesn't work)
no one yet
I would use this. But except for wiring it to a hardbutton, can you make it (maybe as a setting) to have it go into landscape mode when opening New SMS and then back to portrait when SMS is sent?
I also posted this in another thread but maybe this one is more appropriate.
Thanks
It does work on the Mogul/PPC-6800. Rotates the screen 270° Why wouldn't you just create a mortscript file to do this the only line that you would need is
Code:
Rotate(270)
saenzjoseph said:
It does work on the Mogul/PPC-6800. Rotates the screen 270° Why wouldn't you just create a mortscript file to do this the only line that you would need is
Code:
Rotate(270)
Click to expand...
Click to collapse
Is this in reference to my post or the original?
rotating
i don't know if this can be done or not, but if touchflo can have a rotate recognition (similar to HTC album where u can rotate a picture) and use this to rotate the screen in the direction u want to what do u think... is this smtg one should ask efrost?
freakflow said:
Is this in reference to my post or the original?
Click to expand...
Click to collapse
No. But you can have a script that rotates 270° or 90°(landscape) and then opens the SMS app and when it closes the SMS app it rotates back to 0°(portrait). It would read something like this. But im not sure that you can assign it only to the creation of a new message
Code:
Rotate(270)
Runwait( "type the path of your SMS application here" )
Rotate(0)
saenzjoseph said:
Why wouldn't you just create a mortscript file to do this the only line that you would need is
Code:
Rotate(270)
Click to expand...
Click to collapse
Mortscript is a great tool, but it requires some scripting-knowledge to get it working. A small app is easier to install for most people.
But I agree mortscript is the better option if you want a "rotate-start app-rotate back" sequence
This small app is just because of my frustration Microsoft didn't give me a "rotates screen"-shortcut.
Thank you.. Still works great..
works like a charm on my htc prophet with winmo 6.5
thanks a lot!
Any way to decrease the length of time it takes to depress the button?
blackstone with leo rom
works great on wm6.5 on a polaris.
work perfectly on my charmer and this really solve my problem ! thank you .... well done
this is a very nice piece of s/w, i find it very helpful to me. thank you, lextendo, for yr contribution.
Works with SGH-i200 (WM6.1)
lextendo said:
Since I couldn't find it anywhere else I just made it myself
Click to expand...
Click to collapse
Tanks you for this app!
It works with my SGH-i200 (WM6.1)!
The "i320 rotation app" is faster than your "Rotate screen" application but needs more clicks to get back to normal...
So I will use your "Rotate screen CW.cab"!
Grondinm said:
I have been looking to do the same thing for some time now. i found that it's a registry value so my thinking is that it must be possible to create a script or app that can change this value but i have yet to find one.
the reg key and values are:
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
Change the Value of "Angle" to the
dword:00000000 or dword:00000360 -> Portrait Mode
dword:00000090 -> Landscape(Right-Handed)
dword:00000180 -> Portrait Up-side Down
dword:00000270 -> Landscape (Left-Handed)
Click to expand...
Click to collapse
Rotating with MortScript is real comfortable!
saenzjoseph said:
...a script that rotates 270° or 90°(landscape) and then opens the SMS app and when it closes the SMS app it rotates back to 0°(portrait). It would read something like this.
Code:
Rotate(270)
Runwait( "type the path of your SMS application here" )
Rotate(0)
Click to expand...
Click to collapse
Thanks saenzjoseph!
If you have installed MortScript you only need one line to rotate!
Code:
Rotate(270)
And back:
Code:
Rotate(0)
Rotate and remap keys (d-pad)
If you want to remap some keys use "AEButton Plus".
In this thread they remaped the d-pad with that tool...
MortScript for IErotate and AEButton cfg for d-pad
can this be used on a...
can this app be used on HTC TOUCH2 ? just wondering..
anyone test it on HD2?
App Rotate screen v1.1

[Q] [Help]how to turn navigon mobile navigator 7 in to landscape mode ?

Hi can anyone help me with this.
I have a T mobile HTC HD2 US. I could not turn MN7 into landscape to use.
I did some registry tweaks but didn't work. I also tried to edit NaviPanel and tried to launch MN7 in landscape mode but i failed to do so eventhouigh the display did change but it didn't rotate so it cut off half of my creen.
anyone can help me with this.
thanks so much
I know how to switch it but I have to modify it. Give me a pm....
Get the app Auto-Rotate, somewhere here on the forums
i use Navstarter for this purpose.
you have to put it in your navigon directory and run it instead of the normal exe. there you can choose in which alignment you want to start it. if you choose 90 or 270° it rotates the screen, launches mn7, and after you close it, it rotates the screen back to normal mode.

[APP] KeepScreenReadable v1.3, backlight keeper and screen orientation changer.

KeepScreenReadable is a program for optional keeping backlight and changing orientation when specified application was executed.
It doesn't look for specified app in process list but creates special shortcut to itself instead then executes your app from itself.
So you can create a shortcut to a reader (PocketDjvu, FoxitReader, Alreader2), GPS navigation app etc.
When you run a shortcut, KeepScreenReadable will be executed before main app and will keep backlight on and will change screen orientation (all is optional).
After main app is closed, screen orientation and backlight will be restored and KeepScreenReadable will be closed as well.
* Requires .NET Compact Framework 2.0
* Recommended to use File Dialog Changer for more convenient files browser/selector.
Official Russian forum is here.
Version 1.3:
- Fixed issue with Samsung i710 when changing of screen orientation didn't change the joystick orientation.
Interesting idea.
Thanks for your efforts.
I will try this out and give feedback on my results on TP1 and TP2.
Thanks again.
Does it work?
has this been tested on the HD2?
Humongus1 said:
has this been tested on the HD2?
Click to expand...
Click to collapse
It should work fine on HD2. I will ask users.
I tried lots of apps on my Incite, none worked. Will try this one also. Any ideas on how much RAM it uses?
bsinclair said:
I tried lots of apps on my Incite, none worked. Will try this one also. Any ideas on how much RAM it uses?
Click to expand...
Click to collapse
Task Manager shows that it uses a very few memory (292 kBytes).
But this does not really matter, because programs exits just when you close the app for which it rotates screen etc
Didn't worked. Used to start iGO gps software, got a black screen.

On installation: Is there an alternative way to click Next?

Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
whitespiral said:
Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
Click to expand...
Click to collapse
If you feel like messing around, you could try to use ADB on TWRP to pull your /data/data/com.android.providers.settings/databases/settings.db, edit it with SQL, find the value that means rotation and set it to whatever value seems correct (I can't use touch events. ****ty Touchscreen Firmware Flasher app crashed on me and left me with no driver). Sorry if this is very sketchy, but it's all I know off the top of my head. You could also try out other ROMs (I know some do rotate the setup screen) or use MIUI. Cool, but not very useful. I wish someone with the correct knowledge could make a port and us, the ones who only know the hands-on stuff, could beta-test these things... Very nifty.

Categories

Resources