yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] Quist:
Seeing as the original M2D thread is out of hand at 400+ pages of submissions (I seriously doubt anybody is really watching that thread anymore), I figured I'd post my concept here as I outlined it on i900.modaco.com. This concept is of course device agnostic. I'm simply hoping those working on a real landscape version of M2D will get some ideas.

The solution posted in this thread is a Mortscript that adjusts the layout upon detecting rotation to present a launcher page with a skin similar to that of the original M2D.

I've read posts that have refered to a new version of Manila being on the way. Any news on that front?

Logically, a true landscape version would use the landscape real estate differently, i.e. shifting the slider to the right (or left) of the screen with an up/down motion (instead of left/right as in portrait) and the icon orientation to fit the screen orientation (i.e. upright regardless of right-handed or left-handed landscape orientation), and a shift of the "information" field of the screen from above the slider to the left (or right).

For instance, if you flip the phone to the left (like the orientation for the camera), the slider would be on the right and you could slide up/down and have the information field (clock etc. for home, email envelope for email, weather status and forecast for weather, etc.) to the left of the slider.

Not that I won't install this as an interim solution, but from what I understand of the Manila architecture, a new structure began to be seen in the code with specific references to portrait/landscape icons in the latest version, but have yet to see fruition. Apparently those working on it got called away on more pressing business.

Not having the time myself, is there anyone that sees the simplicity in the description of my solution and feels a call? Without restructuring the whole shabang, it may be possible just to adjust some xml and add some conditional checks. E.g. (1) orientation change > check orientation (2) if orientation is a, set file z as the layout structure, else if orientation is b, set file y as layout structure, else set file x as layout structure. I know I'm massively oversimplifying here, but it can't be rocket science - rather just a question of time.

As an interim between this Mortscript solution and the solution outlined above, maybe somebody could figure out how to have two versions of Touchflow installed on the same device, i.e. one standard version for portrait and another version for landscape with different layout files as per my above proposal. Then they could be switched as the only enabled Today screen item based on a Mortscript.

Sure you might still have the delay on rotation, but at least you'd have a real M2D in both portrait and landscape, instead of just a launcher screen in landscape.

What do y'all say?
[Windows Mobile Development and Hacking General] icefish:
Not working on herms
[Windows Mobile Development and Hacking General] b00gie:
hi there this script looks great

however, my tytn ii seems to get stuck after 2-3 keyboard openings, or after I use opera/internet explorer

the screen basically looks like its stuck in landscape mode, but the actual screen is in portrait mode

i soft reset and it works again :P

anyone find this too?

im using stock windows mobile 6.0 rom :P
[Windows Mobile Development and Hacking General] bqwd36:
i wonder that in the manila2d.mscr is slidekey

but in my x7500 there r only angle omitui and landscapemode

if i modify the mscr will it work in my x7500?
[Windows Mobile Development and Hacking General] yi3o8:
manilla, it's just another window, but it always tries to refresh itself (i think) and so it always reverts to portrait. floating a window doesn't work and minimizing just brings it back... i assume even if you could hide it, it would still refresh to portrait. Guess it's worth the wait
[Windows Mobile Development and Hacking General] gregdu13250:
Work perfect, but i must open my keyboard of Tytn II out Today Screen if it's opened in Today Screen, my kaiser freeze
[Windows Mobile Development and Hacking General] bqwd36:
i modify the qvga into VGA and change sth. in the manila2d.mscr

now i think u1000 is only supported.
[Windows Mobile Development and Hacking General] mrchezzy:
i done read all 10 pages and am just giving food for thought here but i had the sbp 2.1 and thats almost as the same as m2d and they have a every good working landscape maybe we can we work there setting and stuff and make it work on the m2d like i said just food for thought am not a programer or anything just food for thought bc there landscape is pretty good and its allmost the same as m2d
[Windows Mobile Development and Hacking General] ajithvv:
will this work for HTC touch, its not working in htc touch,
[Windows Mobile Development and Hacking General] ajithvv:
will this work in htc touch
[Windows Mobile Development and Hacking General] Zenoran:
I thought the launcher when going to landscape was kinda dumb but I just played with the touch pro at best buy a few mins ago and, to my surprise, it throws a frickin' launcher up when you go in landscape mode! How cheap is that?! Even the touch pro doesn't do any TRUE landscape.
[Windows Mobile Development and Hacking General] gfreek:
I've modified your script slightly to launch SecondToday and it works well in fact it's almost instantaneous on landscape mode however when switching back to portrait it takes about 5 seconds to exit and re-launch TouchFLO 2D:(

So to all mortscript experts all we need to do now is how to speed this process up?

Here is the script:

Code:

# This makes sure that manila2d.exe is running before continuing with the script

While(ProcExists("Device.exe")=0)

Sleep(1000)

EndWhile

Clear(portFlag)

Clear(landFlag)

# This loops until Manila process is terminated

while(ProcExists("Device.exe"))

Sleep(1000)

IsRotated=RegRead("HKLM","System\GDI\Rotation","SlideKey")

If((IsRotated=1) AND (landFlag=0))

RegWriteDword("HKLM","\Software\Microsoft\Today\Items\TouchFLO","Enabled","0")

landFlag=1

portFlag=0

RunWait("\Program Files\SecondToday\SecondToday.exe")

RedrawToday

ElseIf((IsRotated=0) AND (portFlag=0))

RegWriteDword("HKLM","\Software\Microsoft\Today\Items\TouchFLO","Enabled","1")

RedrawToday

portFlag=1

landFlag=0

EndIf

EndWhile
[Windows Mobile Development and Hacking General] Cal-El:
Where do I place the Mortsript file? Good job by the way!

EDIT: Nevermind got it. You right much faster! Good job! There must be a way for us to speed up how manila loads! Has anyone looked into something along the lines of S2U2? At least how it can cover manila and uncover without turning it off! We should pm A_C and have him look into this! Maybe!
[Windows Mobile Development and Hacking General] yi3o8:
I'm trying to figure out how to use second today, and no luck. Any pointers?

I get that you need to replace the mortscript code in the windows directory, and install second today. Then, having second today set to rltoday... the script should open second today when you open the keyboard. I'll work on it.

As far as keeping manilla open, the main problem is having it force portrait all the time.
[Windows Mobile Development and Hacking General] zakivan:
ni4ego ne ponytno
[Windows Mobile Development and Hacking General] yi3o8:
Russian? I don't get what you mean to say... but I am hopeful it's a solution for landscape in Manilla.

And noonski, are those reg keys for any device? I don't know how to add them except manually.

The second today script has two unnecessary spaces, but it only works for the first time.

edit: given up for now, I got close but couldn't get it working right. For now I'll just use the script to disable touchflo in landscape.
[Windows Mobile Development and Hacking General] Noonski:
Yeah the reg keys are from Wizard device working with Apps from Ext_Rom.

As for a speedier launch of Manilla try running the .Exe as a ruin command directly, before changing the Home screen selected value.
[Windows Mobile Development and Hacking General] Bjd223:
I'm no expert, but the problem with the script is the part closing Manilla. If you could get it to switch between manilla and second today with command line parameters, that would be perfect.

I will install secondtoday sometime tonight and see if I can get it to work. No promises.
[Windows Mobile Development and Hacking General] Cal-El:
Wierd

Its odd you guys are having problems with this! I installed it last night and it works great, it does take about 10 seconds to switch back while touchflo is starting but the switch to landscape is almost instant. I placed the actual script into the strartup folder after fixing the spaces, and clicked the startup button on secondtoday.But I installed a fresh RLtoday and Secondtoday then switched out the skin XML and png's as well as the .dll and .ini files from mbavarians cab into RLtoday. So maybe thats what worked for me! Thought you would like to know! Hope that helps you guys! I would make a cab, but I do not have the software!
[Windows Mobile Development and Hacking General] yi3o8:
Yeah, maybe minimize manilla? It might work if there was a way to keep manilla dormant, instead of always forcing portrait mode.

Try having touch flo disabled on today, but enabled on second today and running on startup so a soft reset shows touchflo

then (re)open second today, (it will say launching touchflo, but doesn't do anything since it's already open) and switch to landscape. Running programs won't switch back to portrait (so far). Then when you go back to portrait close second today. It should already have touchflo waiting.

Please try to make this into a script, since I obviusly can't.

It almost works, but I'm not sure which window to close. If you name the window in second today settings to say "manilla" and then try ' close "manilla" ' in mort it doesn't work, even the opening of second today does not work as it does manually

e.g.

open second today on slideout

close second today on slidein

And let me know if this helps...
[Windows Mobile Development and Hacking General] mbarvian:
Thanks for all these ideas guys,

So far the problem is that even while switching to SecondToday very fast, it switches back to portrait and Manila 2d after a few seconds of remaining in landscape... very annoying as you can tell

I am currently trying it with Touchflo 3D, and it works quite well, and is fixed and very fast. It seems that Manila 2d doesn't like Landscape as much...

I'll continue development of this tweak, but in the meantime I would greatly appreciate it if someone could help me out :)

thanks
[Windows Mobile Development and Hacking General] gfreek:
Yes all we need to do is speed up the switchback to portrait and it will be perfect:)

I've actually changed the SecondToday to SPB Mobile Shell to launch on landscape using skin that matches TouchFLO 2D which was done by Greatball and allthough it's cheating but the effect is worthwhile at least I have something similar to TouchFLO 2D in landscape mode however it does eat it into memory:(

Many thanks appreciate your input on this:-) let us know how you get on!
[Windows Mobile Development and Hacking General] yi3o8:
# This makes sure that manila2d.exe is running before continuing with the script
While(ProcExists("Device.exe")=0)
Sleep(1000)
EndWhile
Clear(portFlag)
Clear(landFlag)
# This loops until Manila process is terminated
while(ProcExists("Device.exe"))
Sleep(1000)
IsRotated=RegRead("HKLM","System\GDI\Rotation","SlideKey")
If((IsRotated=1) AND (landFlag=0))
Run("\Program Files\SecondToday\SecondToday.exe")
landFlag=1
portFlag=0
Run("\Program Files\SecondToday\SecondToday.exe")
ElseIf((IsRotated=0) AND (portFlag=0))
portFlag=1
landFlag=0
EndIf
EndWhile

I don't know if the two second todays are necessary. In fact, I don't know if this script does anything. But using second today (having touch flo disabled on today, but enabled on second today and running on startup so a soft reset shows touchflo) allows me to switch to landscape at full speed and keep manilla. It hasn't forced me back to portrait yet. Why the script makes the difference, I don't know.

edit: If anyone wants to try this, change this code out with the manilla2d script in the windows directory. Then download and install second today, change the the settings to run on startup and make sure touchflo is checked (but not checked under the normal today settings).
[Windows Mobile Development and Hacking General] Bjd223:
Holy crap! You may have just inadvertantly fixed the problem. What happens, is after about 10 seconds manilla moves back to the front, because it was designed to always be on top (probably some call occurs that pushes it back to the front). Anyway, by loading it in secondtoday, secondtoday controls whether the window can move to the front or not. I am going to try this at once.
[Windows Mobile Development and Hacking General] yi3o8:
Sounds about right, the script is what beats the manilla refresh and resets it. I noticed that one annoying thing is that the volume box/bubble will only stay open for two seconds unless you click on it to increase/decrease the volume. It makes sense, and adjusting the sleep time might help. Other windows seem fine so far (knock on wood).

edit: I added Sleep(10000) to the beginning of the script to make sure it had enough time to start. Also, slideout sound doesn't work the first time for some reason.
[Windows Mobile Development and Hacking General] Cal-El:
I am still using the first script and I have secondtoday set to launch at startup and secondtoday checked in secondtoday! It works great and stays open for ever as long as I leave secondtoday running! When I close my keyboard I dont press the X, i just let touchflo takeover and after about 5 seconds it does! If I check my taskmanager it says secondtoday is running in the background, but as soon I close it or hit the X button it starts to act up and does the switch back thing you guys are talking about! Maybe this will help some of you out! :-)
[Windows Mobile Development and Hacking General] yi3o8:
My landscape is working fine now. Can anyone confirm that using second today, and then opening it twice in a loop fixes it?
[Windows Mobile Development and Hacking General] Cal-El:
Well... I actually went back to mbavarians original cab. It takes a little longer to load but its less buggy! Everytime I would open my text screen then flip to landscape it would let me text two words then secondtoday would pop up for about 5 seconds then I would have to wait for another 5 seconds for my text page to load up! Guess I will have to keep trying other things! How is it going for you?
[Windows Mobile Development and Hacking General] yi3o8:
Works fine. How did you load it in second today? I added a sleep(10000) to the beginning to make sure it loads on startup, and changed the other sleeps to 1.5 seconds, but it worked fine before that even. What are you doing exactly when it switches back to portrait? I haven't had it happen yet. I mean, for me I don't need rltoday, i am usually using a different app anyway, so I just leave manilla looking the way it does... but I don't see why you couldn't change that. I'm just glad I can use landscape again.
[Windows Mobile Development and Hacking General] Cal-El:
It wasn't switching back to portrate on me I never had a problem with that, it was just that when I did the switch to landscape with my texting already open, it would still trigger second today to take over, and it always did right in the middle of my text. LOL! The original doesn't do that. thats all. I am still very happy with it! I wish there was a way to change the shortcuts that the skin uses though! Glad its working good for you though! :-)
[Windows Mobile Development and Hacking General] yi3o8:
Ok, I am still a little confused about the second today taking over. For me, I am always using second today, opening it switches to a blank screen and opening it again switches back to manilla, and it's set to happen at once so you don't even notice. All that does is keep manilla from refreshing, but at least it has no wait. Either way, whatever works for you, and... I like your sig.
[Windows Mobile Development and Hacking General] acardinale:
Any new updates?
[Windows Mobile Development and Hacking General] zeheres:
Does this theme work with the Herald?

Regards.
[Windows Mobile Development and Hacking General] Cal-El:
Yes sir! I have a herald! Works Great!
[Windows Mobile Development and Hacking General] dB Zac:
I noticed a few post's about this program not working with the Hermes but they seem to get ignored. Is this just not going to work on Hermes or is there something I am over looking
[Windows Mobile Development and Hacking General] Noonski:
Theoraticly it should work on the Hermes.

If you can send yours to Mr Barvian he can test ;)
[Windows Mobile Development and Hacking General] dB Zac:
so you just run the cab and it should work? or is there another step I am missing
[Windows Mobile Development and Hacking General] yi3o8:
I still like my method the best. No waiting.
[Windows Mobile Development and Hacking General] hurtem:
Is the switch to landscape still slow? Damn slider phones always have to be the phones to hold everyone up. Thanks for the hardwork .
[Windows Mobile Development and Hacking General] garsim:
with my niki, it doesn't work :(
[Windows Mobile Development and Hacking General] piero79:
but this is good for samsung omnia with Manila2d?

thank's
[Windows Mobile Development and Hacking General] yi3o8:
This works well, you can turn off manilla by closing RLtoday, and reopen just as easy

ok, the short of this is to use the original cab, change manilla to use secondtoday (get second today) instead of the regular today, change the script out to the one I have.

When you have second today on it has a today screen loaded, and when you reopen it hides it, another reopen shows it. This script hides and shows it instantly so that manilla doesn't have time to refresh. This method is good so that there is no waiting, and manilla doesn't screw up landscape mode (although you still can't use manilla in landscape, but who cares).

Any feedback is appreciated.
[Windows Mobile Development and Hacking General] kidnamedAlbert:
i have a suggestion(sorry if its been mentioned before)

but what if you get it to do this:

When keyboard slided out(or screen rotated), it runs SecondToday and only have rltoday available in Second Today Options.

then, when it goes back to portrait, it closes second today(or minimizes it) therefore you dont have a waiting period to load touchflo ;)

EDIT: nevermind it has been mentioned.

imma try it.
[Windows Mobile Development and Hacking General] Cal-El:
Let me know what you figure out!:)
[Windows Mobile Development and Hacking General] GuySparkz:
i installed on hd nov15 version works pretty good except the messaging tab does not respond
[Windows Mobile Development and Hacking General] inked assassin:
MortScript Issue?

I am currently using a Samsung i760 and am unable to get landscape functioning properly. I believe it may have to do with a difference in registry keys maybe? While the MortScript throughout this thread mentions ("HKLM","System\GDI\Rotation","SlideKey") BUT upon searching my reg I find ("HKLM","System\GDI\Rotation") then as opposed to "SlideKey" I find the following 3 items: Angle (with a DWord of 0), LandscapeFixed (with a DWord of 1) and LandscapeMode (with a DWord of 4).

Do I need to make a change in the provided MortScript? I can access landscape in SecondToday but it will not open/close on keyboard open/close which leads me to believe it is a script issue.

Any help is appreciated. Thanks in advance!!
[Windows Mobile Development and Hacking General] inked assassin:
Anyone? Anyone?
[Windows Mobile Development and Hacking General] mbarvian:
well guys, I'm back to work on this :)

I'm currently playing with ManilaControl, and I think it's going to work out great!

anyone have any ideas?
[Windows Mobile Development and Hacking General] Syklone89:
Confused noob!!!!

Im so sorry guys for sounding so lame, but can i please get a step by step on changing to landscape mode and back to portrait.

I dont know anything about changing scripts or anything like that so please do a very specific step by step happy new year and thanks a lot
[Windows Mobile Development and Hacking General] One Hype:
Can't wait to see your progress Mbarvian.
[Windows Mobile Development and Hacking General] Erbid:
Mbarvian,

Good to see you back. I'm a landscape nut... and missed your contributions dearly.
[Windows Mobile Development and Hacking General] Michaelr219:
Looking for an answer...

Im just curious to see if anyone can help me modify this mscr. to work with spb mobile shell... My goal is to get a simple rl today or wisbar advance layout with basic landscape functionality similar to the xml posted in the first post. With the addition of maybe some notifications for missed calls, sms, emails, etc. i have been playing with this for a couple of days, my only problem is that the spb watcher keeps disrupting the script and forcing it to overlay over rl today. (spb watcher is the closest thing available to making mobile shell an active today plaugin)

i didnt want to start a new thread considering that this is the one most relevant to my question, but any help would be much appreciated... thanks :D
[Windows Mobile Development and Hacking General] Michaelr219:
PS-

The idea I have is really quite simple... I think this could become a great tool to make as an app, but what im hoping to see... is an app that allows you to force run an application when you slide the keyboard open. Meaning it would launch during any application and minimize/ close when the keyboard is slid closed. The idea here for the force is to allow full control on what programs are excluded/ acceptions... for example... you slide your keyboard out from the today screen and it automatically opens your sms app, etc. Allowing open and close options for the keyboard from the various apps we use, especially the today, dialer, email, etc... could really take our phones to a new level with themes, apps, etc...

this may seem tedious to some, but im sure a lot of ppl could get some great use out of this... ask me if you have any questions
[Windows Mobile Development and Hacking General] shuren:
i like it see it mouch mouuch...mouchhhh faster changing to landscape mode and vise versa...liek throttle did...very nice....
[Windows Mobile Development and Hacking General] Michaelr219:
yea, the speed would be the fastest we've seen switching orientations on a device if we can get this to run as actual app instead of a script (less bugs, more compatability, etc)

especially combined with secondtoday... i want to have a slide menu that pops up for convenience from any program that i wouldnt need to use in landscape... it would be a really handy shortcut tool once it was modified to how i use my phone.
[Windows Mobile Development and Hacking General] jackburnt:
Hopefully real landscape will be released soon. I spent a while trying to get the Second Today to work, but it just wouldn't. Dunno if I didn't do right with the script or what (I replaced manila2d.mscr content with the posted). I'll stick to the slow, but working mbarvian's until we get true landscape.

Thanks for the thread!
[Windows Mobile Development and Hacking General] erkryn:
Thank you great theme

Thank you great theme. :eek::D:cool:
[Windows Mobile Development and Hacking General] young0ne:
I found way

i been lookin at this thread for about two days now and i have came up with an ideal that will blow your mind away for the landscape Mbarvian gave us and by the way i tried it and its so "Fast" I Could Not Belive it My self.I tell what you need.and ill make a vid just to show you how good it works.

here what you need

1. Second Today

2. Thouch Flo Detacher.

and MOST OF ALL Mbarvain LandScape.
[Windows Mobile Development and Hacking General] magicalan:
will this work without a keyboard? just the rotate on my htc touch :)

thanks

edit

it dint work on my htc touch for some reason
[Windows Mobile Development and Hacking General] magicalan:
help? :( . . .. . .