Jump to content

Titanium Weather Idea


Recommended Posts

Guest slovenec88
Posted (edited)

Topic is now starting from here http://www.modaco.com/content/i9x0-omnia-h...screen-weather/

Hi!

Anyone knows how the weather backgrounds in m2d operates? Would it be possible to somehow do the same thing on titanium. That would be so perfect! It would need to read data from titaniumweather plugin and then just change picture. Any idea how to do that?

a31229e5f87bb8b44580ee8df3570dec2g.jpg434c388c3ca2b8b81c443496794ea31c2g.jpg06e34bc55399d49128b922eeb15309cd2g.jpg

Edited by slovenec88
Guest Bruno Adler
Posted
Hi!

Anyone knows how the weather backgrounds in m2d operates? Would it be possible to somehow do the same thing on titanium. That would be so perfect! It would need to read data from titaniumweather plugin and then just change picture. Any idea how to do that?

Yeah dude, i can take a look when i get home. i'm at work right now.

It'd be nice, since i think titanium weather is the worst weather available.

Guest slovenec88
Posted

I think it should look something like that - and titanium would come to life ;)

a31229e5f87bb8b44580ee8df3570dec2g.jpg434c388c3ca2b8b81c443496794ea31c2g.jpg06e34bc55399d49128b922eeb15309cd2g.jpg

Maybe put sun somewhere else in screen but that's the general idea.

802a5899ef30f13e6278eb6ef73081e82g.jpg or e8b10382ff93c7707f5a4b115028e8b62g.jpg

I think we would need a script so when the weatherplugin succesfully updates the image changes. Another problem that would happen is that when the picture is over a text like windows live it couldn't be selected?

That will look awesome! :D

Posted (edited)
I think it should look something like that - and titanium would come to life ;)

a31229e5f87bb8b44580ee8df3570dec2g.jpg434c388c3ca2b8b81c443496794ea31c2g.jpg06e34bc55399d49128b922eeb15309cd2g.jpg

Maybe put sun somewhere else in screen but that's the general idea.

802a5899ef30f13e6278eb6ef73081e82g.jpg or e8b10382ff93c7707f5a4b115028e8b62g.jpg

I think we would need a script so when the weatherplugin succesfully updates the image changes. Another problem that would happen is that when the picture is over a text like windows live it couldn't be selected?

That will look awesome! :D

with some of scripting we could make an overlay-like the one in StartMenu where it shades the background-with half transparent black :D

can you please post files from M2D here? those with weather? Or try to name them as "StartMenu_Background_Screen_240x400.png" and try one in startmenu first for yourself :(

I thing the bigger problem is how to update tose pictures with weather status, since Titanium reloads itself only at startup or if you force it to do so...

Maybe some expert with MorrtScript could help since it's the best tools for that kinda things...

Edited by joža
Guest slovenec88
Posted

For reading which picture to select we can use ("HKLM", "Software\Microsoft\CHome\TitaniumWeather\Page1 CurrentIcon Value. Background works fine if you set it as starmenu. I have no idea how the start menu puts the "startmenu picture" in middle. And the problem is that the picture is only swaped when device reboots.

Scripting help needed!

Posted
For reading which picture to select we can use ("HKLM", "Software\Microsoft\CHome\TitaniumWeather\Page1 CurrentIcon Value. Background works fine if you set it as starmenu. I have no idea how the start menu puts the "startmenu picture" in middle. And the problem is that the picture is only swaped when device reboots.

Scripting help needed!

i tried it also and it worked, so i'll try to do something inside those cpr's to display pitcure. And there's no need to reset device for refreshing Titanium, only use CHomeRefresh.exe in attachments...

and yes, HELP IF YOU KNOW HOW

CHomeRefresh.exe

Guest slovenec88
Posted (edited)

I think that should work!

1. We can just edit the original weather mortscript file TitaniumWeather.mscr

2. Just add a new function like Sub FullscreenWeather.

3. Read current icon Fullnumber = RegRead ("HKLM","Software\Microsoft\CHome\TitaniumWeather\Page1","CurrentIcon")

4. Then set a new background with weather picture RegWriteString ("HKCU", "Software\Microsoft\Today","Wall","\My Documents\My Pictures\ozadje.png")

5. Then call function RedrawToday or run ChomeRefrest.exe - Here is the problem. It just reloads the titanium and not the background :/

######

Sub FullscreenWeather

Fullnumber = RegRead ("HKLM","Software\Microsoft\CHome\TitaniumWeather\Page1","CurrentIcon")

RegWriteString ("HKCU", "Software\Microsoft\Today","Wall","\My Documents\My Pictures\ozadje.png")

RedrawToday

EndSub

######

So with that we would have to change the backgrounds which is not OK, because if you would want a new background you would need to change all of the 40+ images.

Posible solution - make a somekind overlay but I don't know how.

Bold text - Problems

Edited by slovenec88
Posted

ok i tried a little with titanium, and this is what i came up with.

there was initially a pitcure of background, but as i move slider around it starts freaki'n out. so the pitcure is there, and can be changed, but i don't know about this :/

post-471552-1265830706_thumb.jpg

post-471552-1265830713_thumb.jpg

post-471552-1265830718_thumb.jpg

Guest slovenec88
Posted
ok i tried a little with titanium, and this is what i came up with.

there was initially a pitcure of background, but as i move slider around it starts freaki'n out. so the pitcure is there, and can be changed, but i don't know about this :/

How did you managed to refresh the background?

p.s. zihr si bil tak. uaau dela. fak ne dela ;)

Posted
How did you managed to refresh the background?

p.s. zihr si bil tak. uaau dela. fak ne dela :(

heh heh heh ;) DELA,DELA!!!

settings->home->Windows default

check, uncheck :D

post-471552-1265831393_thumb.jpg

post-471552-1265831402_thumb.jpg

Guest slovenec88
Posted
heh heh heh ;) DELA,DELA!!!

settings->home->Windows default

check, uncheck :D

Do you mind sharing the code mama zlata :(

Posted (edited)
Do you mind sharing the code mama zlata :D

copy-> /Windows

For M2D ROMs works out of box

no updating, just one pitcure... xD

glej v 3. linijo če odpreš tt file z beležnco ;)

EDIT: cpr's aren't allowed... uploading .rar

Titanium_240x400.rar

Edited by joža
Guest slovenec88
Posted

The project is almost finished. Code is done. Graphics need some tweaking. Expect published version soon ;)

Guest WAIKIKI728
Posted
The project is almost finished. Code is done. Graphics need some tweaking. Expect published version soon ;)

Thanks for all your hard work...This looks awesome..!!!!!.i hope the final version is published soon

Guest thekevster
Posted (edited)

good work guys! can't wait for the final version! i'm amazed at how quickly it all came together, it was only a 1 day project lol.

Edited by thekevster

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.