View Full Version : WMP 10 Landscape Mode
RobDahlgren
29th July 2008, 10:27 PM
Hi All,
I am running the latest dcd's ROM 3.2.3 on a Verizon XV6800. This is my first time playing with WMP 10 mobile. I have the classic landscape issue. I've seen this solved using the registry mod (HKLM\System\GDI\Rotation, set Ladscape to 1). This works , but when I slide open the keyboard the registry value is changed back.
I've tried some other players, but I need *.wmv files working so it's limited my choices a bit.
Any advice would be greatly appreciated!
RobDahlgren
31st July 2008, 04:13 AM
Since noone has an answer for this I created my own. This is a hack that works around the WMP limitation. I call it WMPLandscape.
WMPLandscape is basically just a lightweight window that monitors the state of the display. It changes the LandscapeMode reg entry, then posts a message to Windows Media Player. This causes WMP to play in landscape mode when in full screen.
To Install:
Just install the cab and start the app or issue a soft reset.
WMPLandscape runs in the background and is auto-started after reset.
If the app is already running, clicking the app shortcut will open the app so it can be closed or the about box can be viewed.
WMPLandscape should work on any ARM device running Windows CE 4.2 or higher, but only QVGA devices are currently supported. (this was really meant for the Titan.)
This is a pretty ugly hack, but it does seem to work fairly well.
Sometimes WMP will revert to portrait mode after the keyboard is closed. I am still trying to resolve this issue. If this happens, just open the keyboard and close it again and things should be back to normal.
I hope someone finds it useful.
Rob
**Edit: I removed this file after finding a nasty bug. See below for an updated version.
RobDahlgren
1st August 2008, 08:58 AM
Here's a new copy. There were some memory issues with the first version. I still haven't figured out how to make it work everytime, but this one is a step in the right direction.
***Edit: The final version is below.
RobDahlgren
3rd August 2008, 10:31 PM
I was finally able to get this working more reliably, so here is the final version.
If you are having trouble getting Windows Media Player to play full screen in landscape, start by setting the registry key HKLM\System\GDI\Rotation\LandscapeMode to 1 . For many phones, this is all you'll need to do and is better than having a background application running (even if it is very small).
For Titan phones (and probably others as well) the registry value is reset each time the keyboard is opened and closed, making the above fix only temporary. This app will make sure that the key stays at the correct value.
It is compatible with Windows Mobilw 5.0 and above.
Just install the cab file and soft reset the device.
Enjoy!
Rob
103712
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.