Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 (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? Edited February 11, 2010 by slovenec88
Guest Bruno Adler Posted February 10, 2010 Report Posted February 10, 2010 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 February 10, 2010 Report Posted February 10, 2010 I think it should look something like that - and titanium would come to life ;) Maybe put sun somewhere else in screen but that's the general idea. or 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
Guest joža Posted February 10, 2010 Report Posted February 10, 2010 (edited) I think it should look something like that - and titanium would come to life ;) Maybe put sun somewhere else in screen but that's the general idea. or 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 February 10, 2010 by joža
Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 HTC weather images are here http://www.mediafire.com/?yuwgeg2zz0x . We should use the ones with HOME in them. I can rearrange them later for Titanium home (so they dont overlay the chosen panel).
Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 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!
Guest joža Posted February 10, 2010 Report Posted February 10, 2010 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 February 10, 2010 Report Posted February 10, 2010 (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 February 10, 2010 by slovenec88
Guest joža Posted February 10, 2010 Report Posted February 10, 2010 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 :/
Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 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 ;)
Guest joža Posted February 10, 2010 Report Posted February 10, 2010 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
Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 heh heh heh ;) DELA,DELA!!! settings->home->Windows default check, uncheck :D Do you mind sharing the code mama zlata :(
Guest joža Posted February 10, 2010 Report Posted February 10, 2010 (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 .rarTitanium_240x400.rar Edited February 10, 2010 by joža
Guest slovenec88 Posted February 10, 2010 Report Posted February 10, 2010 The project is almost finished. Code is done. Graphics need some tweaking. Expect published version soon ;)
Guest WAIKIKI728 Posted February 11, 2010 Report Posted February 11, 2010 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 February 11, 2010 Report Posted February 11, 2010 (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 February 11, 2010 by thekevster
Guest slovenec88 Posted February 11, 2010 Report Posted February 11, 2010 Topic is now starting from here http://www.modaco.com/content/i9x0-omnia-h...screen-weather/
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now