S2U2 UserWeather MortScript - Windows Mobile Apps and Games

Figured I would make a thread for this to keep the S2U2 thread uncluttered
A_C's wonderful S2U2 introduced support for weather forecast display if you used some apps to get weather, or you could use "User" generated weather data in the registry.
I never have good luck with those weather apps, but I am handy with mortscript - the following script works with S2U2 *and* rlToday, giving you the current weather and the forecast for today or tomorrow.
REQUIRED:
SU2U 0.95 or later, installed, with UserWeather enabled in settings
MortScript 4.1 installed
CHANGES:
In V2.1 I've cleaned up the system paths so they are not hard coded
* this should work no matter where you have MortScript installed
In V2 I've updated the script as follows:
* if your cellular radio is OFF, the weather check is skipped - it will try again on the next scheduled time (ie, it works right when you are in flight mode)
* if there is any runtime error at all, the script quietly quits now, and tries again on the next scheduled time
TWEAKS:
Near the top of the script, you must edit the various settings (see below) to get your weather, and to have it update as often as you want.
You can also change some lower-level parts of the script - if you don't want it to switch to tomorrow's weather forcast after 4pm, remove these lines from the script:
Code:
# get tomorrow's weather if hour past 4pm (>15)
if (hour > 15)
notDone = -1
endif
If you want to change what is shown on the S2U2 screen, edit this line in the script:
Code:
weather="W|"&code&"|"&hitemp&"|"&lotemp
Change the W to an S to get the Spb weather icons
Change code to ccode to show the icon for the current weather, not the forecast for the day
Change lotemp to temp to display the forecast hi temp / current temp
INSTALLING AND RUNNING
Unzip the attached zip file
Copy notiweather.mscr to /Windows/Startup
If you have run a previous version of this script, you can copy clearweather.mscr anywhere onto your device, and run it once - it will ask if it can clear the notifications... tap Yes. Then you can delete the script
Run the notiweather.mscr script by navigating to it in a file browser on your device and double tappping it. It should silently run - if it works you should see some data activity. Run S2U2 and see if you've got some weather.
It is safe to run the script manually to update the weather - it will also update the next run time to be whatever you have it set for in the script.
WEATHER PANEL ICONS
S2U2 has an incomplete set of Weather Panel Icons.
Go to http://www.desktopsidebar.com/forums/index.php?showtopic=2441&pid=30068&mode=threaded&show=&st=&
Link for full stardock set of weather icons is at bottom:
http://www.desktopsidebar.com/forums/index.php?act=Attach&type=post&id=1489
That set includes the missing 33.png, among many others - unzip those into your gfx\weather folder overwriting what's there, if you're using UserWeather and don't have a full weather icon set. Seems to make S2U2 much happier - still not sure if/when the weather display is updated, will try and nail down some examples for A_C to test.
TROUBLESHOOTING/INTERNATIONAL
One user reports that the code used to automatically connect to the internet fails on his device. Changing the Connect() call as follows fixed it:
Original line:
Connect("The Internet")
Change to:
Connect("Internet")
Try that if the script complains for the connect call.
Original post: http://forum.xda-developers.com/showpost.php?p=1756216&postcount=337
Attached is a mortscript that uses yahoo's weather rss feed to fetch the weather and put it in the right place,right format for S2U2 "userweather" - so you can have weather even if you don't have a weather app
Unzip notiweather.zip, and then edit notiweather.mscr in a text editor...
You NEED to edit the file before you put it on your pda - at the top are three settings:
Code:
# USER SETTINGS, CHANGE AS DESIRED
# how often to try and get the weather
delayHours = 2
# your location (see http://developer.yahoo.com/weather/ on finding your location)
location="95129"
# desired units for temp, f or c
units="f"
Change those as desired, save, and copy the script to /Windows/Startup
You can launch the script manually or soft reset.
The script uses the notification manager to run every delayHours and fetch your weather.
It issues a Connect call to "The Internet" if no network connection is present.
It formats the weather correctly and puts in in two registry locations:
#for s2u2 UserWeather
RegWriteString("HKCU", "\Software\A_C\S2U2\", "UserWeather", weather)
#for rltoday
RegWriteString("HKCU", "\Software\emerym\", "Weather", rlweather)
If you are just using S2U2, all you need to do is edit your registry and add ShowWeather, DWORD 5.
If you also use rltoday, you can use that second registry value in your skin.xml to get a string with the current weather + today (or tomorrow if after 4pm's) weather and hi temp
Code:
<Registry x="119" y="52"key="key="HKEY_CURRENT_USER\Software\emerym\Weather" alignment="center">
</Registry>
If not, you can just ignore that, or even edit the script and cut out those parts...
It's all working very well. Thanks to A_C for this great app!
Lemme know if anyone runs into any issues.
Change log:
V 2.2: 15-01-2008 - use system paths from Mortscript to set up notifications
V 2.1: 13-01-2008 - skip check if cell radio off, handle errors cleanly
V 2: 22-12-2007 - first working version
V 1: unreleased test version

What version of Mortscript are you using? I'm using 4.1 and I got "DelayHours command unkown". 4.1 wants set DelayHours,2. So I assume we are using diffent versions.
Mike H

holmanm said:
What version of Mortscript are you using? I'm using 4.1 and I got "DelayHours command unkown". 4.1 wants set DelayHours,2. So I assume we are using diffent versions.
Mike H
Click to expand...
Click to collapse
I'm on 4.1 and it works for me. Is it because it should be delayHours = 2 ?

Ixtana_ran said:
I'm on 4.1 and it works for me. Is it because it should be delayHours = 2 ?
Click to expand...
Click to collapse
My bad. Somehow I still had Mortscript 3.1 loaded. I loaded 4.1 and it works perfectly. Thanks.
Mike H

I put this mortscript on my device, and I do not get any errors, but nothing is displaying on my s2u2 lock screen. Do I need to wait for it to update?

I am using SU2U version 0.97 and MortScript 4.1. When I launch manually, I could get the weather infor. On the other hand, the auto update always complains of Mortscript not being able to be run. I had set the updating to 1 hour internal. Not sure if there is a limitation on how ofter Mortscript could be run or that 2 hours is the lowest interval that I can set.

It should "just work" with mortscript 4.1, however it depends on the installed mortscript being in a specific location.
For those who have problems, you might try editing the lines
# kill any lingering notification
RemoveNotifications("\Windows\MortScript.exe", "\Windows\Startup\notiweather.mscr" )
# set notify for myself at next time
RunAt( utime, "\Windows\MortScript.exe", "\Windows\Startup\notiweather.mscr" )
Near the top. They're going to need to have the correct path to the Mortscript executable - mine is in the \Windows folder, but it could be \Program files\Mortscript or even somewhere on your storage card.

lawmangrant said:
I put this mortscript on my device, and I do not get any errors, but nothing is displaying on my s2u2 lock screen. Do I need to wait for it to update?
Click to expand...
Click to collapse
You do need to run it once - assuming it runs correctly the first time (see the note above regarding the path to the executable) it should update the weather right away - you should see the data activity and then, within a minute, the weather should update if you've set S2U2 to use UserWeather.
I'm going to check tomorrow, I am pretty sure I can get rid of the path to the executable in the code - sloppy on my part, sorry! That's the hazard of releasing scripts you write for your own use

I am hoping this can get working...I miss having a temp on my phone. I used to be a big fan of weatherpanel, but it left a lot of undeletable junk on my phone.
I have MortScript 4.0, does that matter?
Also, mine was in an A2DP folder, I just copied it to the windows folder.
Just tried this, and still no luck.
I am running WM5 with a Treo700wx.

OK...
I installed MortScript 4.1 and got this working.
It gives me tongiht's forcast, but gives me a SUN with CLOUDS. It seems to be the wrong icon.
Also, any way to edit this to display the current temparture.

lawmangrant said:
OK...
I installed MortScript 4.1 and got this working.
It gives me tongiht's forcast, but gives me a SUN with CLOUDS. It seems to be the wrong icon.
Also, any way to edit this to display the current temparture.
Click to expand...
Click to collapse
Sure... you've got the source, do whatever you want with it
You can put the current condition icon for display, instead of the forecast...
Note this line:
Code:
weather="W|"&code&"|"&hitemp&"|"&lotemp
code is the "forecast code" for today. If you put ccode in there instead, it will show you the current conditions icon instead. You could also put temp in place of lotemp if you wish to show the hitem/curtemp in S2U2

Oh wow...
This is beautiful!
I love the customization.
Wow...And this comes from an RSS feed right, so If I wanted more weather, I could get an RSS grabber, right??

lawmangrant said:
Oh wow...
This is beautiful!
I love the customization.
Wow...And this comes from an RSS feed right, so If I wanted more weather, I could get an RSS grabber, right??
Click to expand...
Click to collapse
Yep - they have quite a bit of info in the feed. I just grabbed some bits to make s2u2 and rlToday weather displays. Enjoy! If you do something cool, post it back here.

Just what I was looking for!
This is just what I was looking for! If I try to run the program again, while it is already running, what happens? Does it create another instance of the program? Could I use this as a means of manually updating my weather?
Thanks!

Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.

christopher L said:
Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.
Click to expand...
Click to collapse
Actually, the hitemp will change at 4. The temp will always be the current temp.
I am loving this script.

christopher L said:
Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.
Click to expand...
Click to collapse
Code:
# get tomorrow's weather if hour past 4pm (>15)
if (hour > 15)
notDone = -1
endif
Delete or comment out (put a # at the beginning) those lines to stop having it look ahead to tomorrow's forecast. Or change the 15 to some larger number - it's a 24 hour clock there so 16 is 4pm, 20 is 8pm, 22 is 10pm...

That's cool but, how do I change it so it will change the hitemp at say, 11pm instead of 4pm? Thanks for the help.

eMpTy3000 said:
This is just what I was looking for! If I try to run the program again, while it is already running, what happens? Does it create another instance of the program? Could I use this as a means of manually updating my weather?
Thanks!
Click to expand...
Click to collapse
It's perfectly safe! Run it anytime to update the weather and reset the "next update" time for you.
It uses the notification manager to run itself in the future. If you look at the chunk of code at the top of the script where it says
# set up for next notification
you can see that the first thing it does when it runs is, it removes its own notification request (which does nothing if its not there, but keeps it from making multiple entries if it is there) and then sets up the next one... then it gets the current weather.
So you can run it whenever you want to refresh things.

christopher L said:
That's cool but, how do I change it so it will change the hitemp at say, 11pm instead of 4pm? Thanks for the help.
Click to expand...
Click to collapse
11pm is 23 in 24 hour time, so if hour > 22, then you want tomorrow's time - change the 15 to a 22 in the if statement...
if (hour > 22)
and from 11pm you will have the next day forecast
Or you can just delete the whole block, because it will always show the current forecast without that block of code. So after midnight, the current forecast should be for that next day, right?

Related

WeatherWallpaper 0.36 Nov25,2008: For S2U2. New version for Manila2D Weather!

A mortscript that changes s2u2 wallpaper based on current weather condition. Now there is support for Weatherpanel, HTC Weather, and the original Yahoo feed (based on notiweather script)
FOR INFO ON ANIMATED WALLPAPERS, see post #4 (but if you don't have this installed already, finish reading this first post first!)
post #4: http://forum.xda-developers.com/showthread.php?p=2182530#post2182530
I wanted a way to change the wallpaper of s2u2 wallaper based of the weather forecast.
Since Schettj has created such a fantastic script to user Userweather without a weather app (feed from yahoo), the easiest way for me to start was just build on this, so many thanks to schettj for building a fantastic script.
I have now added scripts for Weather Panel and HTC Weather support that doesn't require data connection. (except for the WP and HTC weather application update itself) Please note that since HTC weather does not autoupdate, there will be times of discrepancy between what htc weather shows and s2u2 wallpaper show. In other words, after you manually update HTC weather, s2u2 wallpaper won't reflect this until the next time the script is scheduled to run (which depends on delayhour variable). This is why I was never crazy about writing a version for HTC weather. For weatherpanel version it is best that you set weatherpanel application to update more often or same as the WeatherWallpaperWP.mscr script.
Create a folder that have 48 wallpapers in jpg from 0.jpg, 1.jpg...47.jpg corresponding to the different weather forecast icons. Or use one of the wallpaper set I have below.
Notiweather link:
http://forum.xda-developers.com/showthread.php?t=358952
S2U2 link:
http://forum.xda-developers.com/showthread.php?t=381588
Sample Customizations
1. Also, to display current , high and lo temp in notiweather change the weather line to this:
weather="C|"&code&"| "&temp&"º H"&hitemp&"º\L"&lotemp&"º"
There should be about 5 or 6 spaces between &code&"| and ", but I don't know why it is not displayed correctly.
(Edit: Current version implements this already)
2. I believe animated gifs would be possible if you change the part in bold again above from ".jpg" to ".gif" and fill the folder full of gifs.
(Edit: On current version, just change the wallpapertype variable at the top to = ".gif" instead of ".jpg", make sure to include quotes)
Update: WeatherWallpaper0.36 now also has version for Manila2D Weather (look for the Weather_WallpaperM2D0.35.mscr script). See the replies below for "u" version.
Update: WeatherWallpaper v0.36 (yahoo only): line 176 fixed with missing ")"
Update: WeatherWallpaper v 0.35 and .35u
A slight modification to the script that will hopefully fix some of the refresh issues. I have ran this for a week and have not encountered coming out of standby without S2U2 lock screen coming up. Please let me know how it goes for you. I also have made a new naming convention. The "u" version refers to the version of the script which will display Last Updated time (like the old v.33). Again, this "u" version will be posted on the third post like before. Thanks goes out to Holmann.
Update: WeatherWallpaper v0.33
I also made a version of WeatherWallpaper for HTC, Yahoo, and Weather Panel that displays the last updated time (version .33). This can be found on the third post on this page. If you don't want the last updated time displayed, then use the version on this first post. Update v.33b: got rid of the extra 0 bug ie 007:30
Update: WeatherWallpaper v 0.32
- don't use v.31, there's a bug. Please use v0.32 for WP only.
Update: WeatherWallpaper v 0.31
- small bugfix. on WP version only, at night slide forecast may display -9999
UPDATE: WeatherWallpaper version 0.3
- contains updated versions for Weatherpanel and Yahoo. HTC version is unchanged.
- updated versions for WP and Yahoo now has a new variable slideforecast:
slideforecast=0 (default) no change to slide2unlock text
slideforecast=1 slide2unlock text will display daily forecast (match lower left icon if s2u2 weather is set to userweather)
slideforecast=2 slide2unlock text will display current condition (match wallpaper)
Please note this feature is for S2U2 v 1.02 or higher (preferably 1.05 or higher). Do not change the slideforecast variable if you are running v 1.01 or less.
Please note if you change slideforecast to 1 or 2 and then decide to change back to 0, the display will not automatically revert back to whatever it is you have ( ie "slide to unlock"). You will have to change it back your self using this utility by l3v5y or through registry edit:
http://forum.xda-developers.com/showpost.php?p=2264560&postcount=923
WeatherWallpaper version 0.2:
- Now contains three scripts, WeatherWallpaperYah0.2.mscr (for standalone use getting weather data from yahoo feed), WeatherWallpaperWP0.2.mscr (for WeatherPanel), and WeatherWallpaperHTC0.2.mscr (for HTC Weather). You only need one of these scripts!
- Two new user settings at the top of the script:
# folder containing your weather wallpaper
wallpaperfolder = "\storage card\my documents\download\wallpaper\weather\"
# wallpaper type jpg or gif
wallpapertype= ".jpg"
- Display is now set at Current temp followed by High and Low temp, but only if you select Userweather in S2U2. For example:
80º H86º\L71º
- Also, it now only writes into registry and "update" s2u2 if the current condition has changed, avoiding too many s2u2 updates, which can cause some delay in s2u2 sometimes.
- Please note that the wallpaper by default is based on current condition (ccode) while the lower left icon is based on forecast (code), so it may not be the same sometimes. i did this on purpose because, with current conditions, the wallpaper will change more often, like 3-4 times a day, giving it a nicer effect. If it was forecast it would chnage like 1-2 times a day.
PocketWeather users: rifraf1 has written a script that supposedly works with PocketWeather. However, I will not be supporting this since I don't have PW installed, but feel free to try. See this link. Thanks rifraf1!!
http://forum.xda-developers.com/showthread.php?p=2289453&highlight=PocketWeather#post2289453
Wallpaper Update
There are now three sets of wallpaper to choose from. My original vision was to use natural appearing wallpapers that shows the weather forecast. Obviously it has been hard to find for all 47 situations. I have about 10 or so and have filled up the remainder using Bliss Alive for WAD from Doreen at Lakeridgesoftware.com forum. This is now called Wallpaper MyCombo0.3.zip.
It appears that some or most of your would rather us use a more related computerized graphic set, so i have also included the complete set I made from Bliss Alive from Doreen. This is called Wallpaper Bliss Alive.zip. See pics from post #6 below.
Update 5-27-2008: Bliss Alive 0.3 is posted. Cleaned up the graphics for nicer look on PPC.
There is a third set which is a modification of Bliss Alive made by Bob_55 from SBSH forum. This is called samurize.zip. See post #5.
You can mix or match the jpgs.
Still waiting for someone to step up and provide a complete set of animated gifs. I have seen some but not enough to make a set.
Installation
1. download one of the wallpaper set below and extract and place in any folder you like.
2. install mortscript 4.1, and s2u2 at least v 1.01
3. download WeatherWallpaper0.2.zip and extract the three mscr files: WeatherWallpaperYah0.2.mscr (for standalone use getting weather data from yahoo feed), WeatherWallpaperWP0.2.mscr (for WeatherPanel), and WeatherWallpaperHTC0.2.mscr (for HTC Weather). You only need one of these!!
4. edit the .mscr file of your choice with Notepad on PC and change the following data:
wallpaperfolder (where your weather wallpapers are located from #1 above)
wallpapertype (jpg or gif, leave as ".jpg" if using any wallpaper set from here)
For Weathepanel and Yahoo versions only also change:
units (f or c, fahrenheit or celsius)
location (where you are located, see http://developer.yahoo.com/weather/ on finding your location)
delayhours (how often you want it to update)
5. save this mortscript and transfer to ppc in \windows\startup\
6. tap to run it or soft reset. you should see data activity (in yahoo version)
7. see links for notiweather and or s2u2 for further details
Troubleshooting
There appears to be issues arising espceially when using custom Roms or foreign language users. this script was written under the presumption that s2u2 was installed in standard location as well as weatherpanel (if you are using that). If you are having these issues try these two helpful posts:
http://forum.xda-developers.com/showpost.php?p=2273219&postcount=144
http://forum.xda-developers.com/showpost.php?p=2271849&postcount=139
If you are using the latest Mortscript 4.11b you may have issues as well. Or you unit may be looking to connect to "Internet" instead of "The Internet". Look at this post:
http://forum.xda-developers.com/showpost.php?p=2279195&postcount=160
If you cannot get the forecast to show on the slider (and the registry info is correct), see this thread (thanks Holman):
http://forum.xda-developers.com/showthread.php?p=2547257#post2547257
Thanks:
Schettj for original notiweather script
alanlsmith for the WP script version. His original version is on page 4 of this thread.
toniolol for help with HTC weather script
here are wallpapers i have so far (taken from pocketpcscreens.com)
2nd to last pic is screenshot including forecast on slide bar (optional)
in last pic, screenshot shows slide bar removed altogether leaving only forecast/summary
see this link for how:
http://forum.xda-developers.com/showpost.php?p=2314286&postcount=212
I also made a version of WeatherWallpaper for HTC, Manila2D, Yahoo, and Weather Panel that displays the last updated time (version .33). On the WP version only, there is a humidity variable now. However, if you use this humidity or make any changes to how the data is displayed, then you need to change this appropriately (WP only):
oldmax =SubStr(curweather,-23,2)
oldmin =SubStr(curweather,-18,2)
If you don't know what I mean by this, then i recommend you change this:
If ( maxtempf = -9999)
maxtempf = oldmax
maxtemp = oldmax
EndIf
#
If ( mintempf = -9999)
mintempf = oldmin
mintemp = oldmin
EndIf
change oldmin and oldmax both to "--"
Update: v.36u now also has script for Manila2D (Weather_WallpaperM2D0.35u.mscr)
Update v.36u: changes made to Yahoo version only. fixed line 176 with missing ")"
Update v.35u: fixes some refresh issues
Update v.33b: got rid of the extra 0 bug ie 007:30
If you want 12hr format instead of 24hr then see this post:
http://forum.xda-developers.com/showthread.php?p=2521007#post2521007
If you don't want the last updated time displayed, then use the version on the first post above.
Animated Wallpapers
You asked for it, you're gonna get it! ANIMATED WALLPAPERS.
Since Rumball made the great set of animated weather Diamond icons for WeatherPanel, he has given me permission to do a set of animated wallpapers based on his work. These take a long time (I can see now why he asked for donation...he deserves it).
I plan on making a modified set which has shorter animation. The advantage besieds being less time consuming for me is that it is smaller in size and doesn't weigh down the device too much on resources to run. Also, I picked part of the animation which will allow it to run continuosly without the appearance of a break or pause.
I believe Rumball will also try to do a set which will have the full animation like his icon set so look out for that as well.
THE SET IS NOW COMPLETE!!! It was a lot harder than I thought but everyone's inspiration has fueled me on!
These are for QVGA only.
Instructions:
Download WeatherWallpaperAnimated1.0.zip and extra the content onto the folder which contain your weather wallpaper.
On your script, change wallpapertype= ".gif"
(default is ".jpg")
Soft reset.
Download:
http://rapidshare.com/files/137140922/WeatherWallpaperAnimated1.0.zip.html
Lastly, I don't know how to upload animated gifs for preview...probably need imageshack account or something. If anybody can do that, I can post the link here.
[/
i will put more wallpaper here:
samples of the remainder of the wallpapers based on Bob_55 modification which is based on Vista Alive WAD theme from Doreen. This is called samurize. It is not a full size wallpaper!
and hopefully more wallpapers here:
here are wallpapers based on Bliss Alive WAD theme made by Doreen from lakeridgesoftware.com forum.
other possible wallpapers we can use:
Nice work, gif animations would be awesome!
Nice work!!! I knew that this would be a good idea. Way to run with it! This looks awesome.
Please, add support for HTC Home Weather!
Idea is GREAT!
Nice work!
lol if i put it on my wizard it would scream at me for overloading it.
great work tho.
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
Hi,
shoot all the gifs in a converter please, so we can use it for this release
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
please post and I will try it out.
haiopei said:
Hi,
shoot all the gifs in a converter please, so we can use it for this release
Click to expand...
Click to collapse
better yet try it yourself. fill the folder full of gifs and change the path to ".gif" instead of ".jpg" in the area I bolded on my first post.
to display current , high and lo temp in notiweather change the weather line to this:
weather="C|"&code&"| "&temp&"º H"&hitemp&"º\L"&lotemp&"º"
there should be about 5 or 6 spaces between | and " after &code&
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
To make this work with HTC weather or weatherpanel, etc. I need to know where A_C finds that data..I haven't a clue.
you could look at the creator of "vista alive" WAD. It has a wallpaper for every instance of weather conditions. Im sure she would give permissions to use it for this applicaton
specv said:
you could look at the creator of "vista alive" WAD. It has a wallpaper for every instance of weather conditions. Im sure she would give permissions to use it for this applicaton
Click to expand...
Click to collapse
I checked that out. Pretty cool!! But I think the look I am going for with this a more natural real life picture for a wallpaper. I don't want it to be too obvious that the wallpaper reflects the weather forecast, and i think the computerized graphic pcitures give it that impression. Looks nice, but not necessarily the look i am going for. On the other hand, it may be good for filler jpgs for forecast I don't already have.
superflysocal said:
To make this work with HTC weather or weatherpanel, etc. I need to know where A_C finds that data..I haven't a clue.
Click to expand...
Click to collapse
If you are interested here is a script I wrote, originally inspired by Notiweather, which will display data from Weather Panel on the S2U2 screen & could be modified in the same way to change the S2U2 wallpaper.
It uses the 'current', 'hourly' & 'forecast' files in the Weather Panel data folder to get the information according to the time since the last Weather Panel update, so, what it shows should always match Weather Panel itself & can display the current as well as forecast temperatures.
You can choose what is shown on the S2U2 screen, see the end of the script for examples and change the fourth line from the end of the script weather="C|"&code&"|"&display6 to display1, display2 etc, it'll make sense when you look at the script. Oh! & change location_code at the start of the script to you chosen location.

[05.11.2008] iFonz: Active Weather Icon +5day forecast

SORRY, am no more active on this Topic cause Device does no more exist.
Please use at your own Risk. But don't expect answers any more.
Weather icon showing Temperature and Weathercondition at selectable iFonz-Icon plus 5 Day forecast, new weathericons
(Only iFonz 1.1.2 not iFonz 2 by now)
Hi,
the Mortscript, I've done (based on Infos of this thread), is a plugin that replaces an IFonz icon by a weathericon(showing actual weather) and shows temerature as Icon name. In the new version, pressing the weathericon will now show a five day forecast(see screenshots at the end of post). I hope, you'll like it.
The ifonzWeather.ZIP now contains two Mortscripts iFonzWeather.mscr (sceduled download of weatherdata and refresh iFonzscreen) and the new iFonzForecast.mscr(when started expand from 1 to 5 weathericons for 5 day forecast and restore original icons when started again.)
What is new/has changed:
Removed Bug wrong Icon is shown, when online source for weatherdata is available, but Page says no actual data available(weathercode 3200, not 0, not na)
The script can now autoconnect to gsm if no dataconnection is available and if wanted!
Added iFonzForecast.mscr to be started by weathericon. This will give you 5day Forecast, shown as iFonzIcons.
What do you need/have to do:
iFonz 1.1.2(Works with older versions too, but I got reports, that with V0.99 is waits with iconupdate till newstart of iFonz.)
Download and install the Mortscript-4.1PPC.cab
Download my Mortscripts iFonzWeather.zip (see end of post)
S2U2 has Weathericons included, but you can also download the ones i've created of them(complete set but not perfect). Better use blueaxe's icons(see end of post)
Modify scripts with texteditor to fit your needs(at least change your location/descriped further down).
Start it manually by doubleclicking on script to start or put a lnk to windows\autostart(startup)\
What does the script(iFonzWeather.mscr) do:
It downloads the actual weathercondition and the forecast for five days, of a place you select, from Yahoo.weather.com and saves them. It uses the internetconnection available(I've testet via wlan and activesync)
It canges the iFonz icon (you can select in the script) to show the picture of the actual weatherconditions.
it changes iconname shown, to a combination of actual temp and forecast(highes and lowest temp).
It lets you open the 5day forecast if selected or altenatively sets the icon, to start the Browser, you've chosen in the mortscript, and opens the yahoo page showing further weatherinformation to your selectet place. You can also disable this if you like to start an other app.
It will retry to get weater every hour(but you can change the timeintervall to any time in mortscript).
If connection is not available, it will try to use saved weatherdata for showing actual day and the forecast.
Needed changes in script(iFonzWeather.mscr) Simply change with texteditor
The mortscript should work without any changes on english devices. It is by default set, to use the weatherpictures of s2U2, if S2U2 is installed in "\program files\s2u2\gfx\weather\". Pressing the Icon will start iFonzForecast.mscr(change icons to show 5 day forecast). It will change the 4th Icon on the first page to be the main weathericonon the first page(can be changed)
Here you see the settings you can change in an texteditor
# USER SETTINGS, CHANGE AS DESIRED
#
# your location (see http://weather.yahoo.com/ on finding your location)
location="GMXX0115"
# desired units for temp, f or c
units="c"
# Set GSMConnection to your internetconnection("The Internet","Internet","My ISP"..see settings/connections ...)
# If you only want to use available connections set GSMConnection=""
GSMConnection="The Internet"
#
# how often to try and get the weather
delayHours = 1
delayMinutes = 0
#
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Want iFonz to open Yahooweather for your destination, when icon pressed ? set iFonzOpenYahoo=2
# Want iFonz to show Weatherforecast with Icons ? set iFonzOpenYahoo=2
iFonzOpenYahoo=2
iFonzBrowser = "\windows\iexplore.exe"
# Choose Icon to change
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 3
ifonzPageNumber = 1
Click to expand...
Click to collapse
Set location to your locationcode.For finding your locationcode, enter http://weather.yahoo.com/ and click trough the countries and the cities untill you find your place.
Then you'll see your needed location in the adressfield of your browser.
"http://weather.yahoo.com/Rosenheim-Germany/GMXX0115/forecast.html"
You want fahrenheit, not centigrade? Change units from c to f
You dont want the script to autoconnect to gsm? SetGSMConnection=""
You want to reload data in shorter or longer Timeintervalls? Change delayHours = 1 and delayMinutes = 0 to your needs
You want other Pix? Change iFonzPixPath to the folder containing the pictures. The mortscript uses 0.png up to 47.png and nb.png for weather not available. So check if NA-Picture is called 0.png or NA.png and eventually change iFonzWNA from "0" from to "na"
Choose pressing Weathericon, (2)to open 5day-forecast inside iFonz(offline), (1) to open online Webpage with further data or (0) select any app to open, manually in iFonz iconsettings, by setting iFonzOpenYahoo =2, 1 or 0
You want iFonz to start an other browser(please Internetexplorer is a shame), for showing further weather information ? Set iFonzBrowser to an other browser.
You want an other Icon to be changed? Set iFonzBottomIcon = True (0..X), if you want to change an icon in bottombar, set if false if you want to change a normal icon. ifonzIconNumber is the positionnumber of the icon counted from left to right,up to down.First Icon has Nr 0. For the bottomicons start counting with the first buttombaricon. Set ifonzPageNumber(1..X) to the page the icon should be(not nescessairy for BottomIcons
What does the script(iFonzForecastdo.mscr) do:
It changes 4 selectable Icons to show Forecast for day 2, 3, 4 and 5(Day 1 is shown by ifonzWeather.mscr). It saves the original Icons with all data, and restores them when script is started again. By setting iFonzOpenYahoo=2 in iFonzweather.mscr it will be started by pressing the Mainicon or any of the other forecasticons
What you can change (works without changes)in script(iFonzForecast.mscr) :
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Choose first Icon to use out of four to show forecast
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 4
ifonzPageNumber = 1
Click to expand...
Click to collapse
iFonzPixPath and iFonzWNA should get the same values as in iFonzWeather.mscr.
Selecting the first of the 4 replaced icons, works like in FonzWeather.mscr. The values should not be the same like in iFonzWeather.mscr because you would otherwise only see Day 2-5, because you replaced the Mainweathericon, showing actual day.
Click here to see bluemetalaxe's new realizelook weathericons. Find Icons in higher resolution and diffrent optics. These Icons are the base for the Set posted below. TNX bluemetalaxe
To use this Icons set iFonzWNA = "0"
So, this was a long Post. Sounds difficult, but is indeed quite easy. I hope you like it.
Any feedback by now ??? Wishes ??? Problems ??? Questions ??? Chage requests ???
Thanks Sid-Shrunk, it was the missed part on iFonz
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Hi bluemetalaxe,
bluemetalaxe said:
i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background
Click to expand...
Click to collapse
the preview icons look realy good. Especially playing with night and day should be interesting.
By the way, if you plan to do more pix, do you already have a table with the conditions belonging to the weathercodes?
yes, i think the codes/numbers are correct you see 36,39 and 33 from left to right, but please check it.
EDIT: Okay i checked it with your Icons, seems its okay. The other question is the size, i prefer 52 but i think the most like to use 48 Pixel for qvga. For the weather graphics itself i use Rumball`s Set (or the Set Rumball uses for manila weather panel, who knows ?), but i think i PM him first before doing this.
I did not mean thy are wrong, I just thought you could be interested in the link to YahooWeather that shows the exact description of condition to a code.
There you can see the exact diffrences between a bit/normal/heavy rain ....
For the pictures I've done I've just changed the icons coming with S2U2, and compared the missing icons with other available sets.
I forgot: For the size I think it would be best if it fits to the rest of your iconset, but that's you descision. I use 48, but I use a frame for every icon I use, so I had to modify anyway.
it`s okay the yahoo description and the graphics are right: 41 (heavy snow) and 37: So i think i will post a set for your application on the next few days on my icons thread.. (Just thinking about a cleaner background like on the second icon). Thanks for this app man !
Sounds great man, I like the smooth look of you new iconset.
The backgroundproblem in iFonz with transparency, is the Reason, why I modified all my icons with a metalic border So I can use any background now.
bluemetalaxe said:
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Click to expand...
Click to collapse
These are really nice icons and they go nicely with your realize icons which i use, i like that and i am interested
thank you claus
@sid: yes bmps and transparency, always a Problem on ppcs, i for myself went back to a black background, now my Icons look smooth. okay i post here again when the set is ready with a link (weekend)
Bluemetalmax,
Weather icons look up to your usual high standard. Would love a set in VGA. Is this possible?
blue those weather icons would be sweet.
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Hey i would use this as it looks great, but sadly, ifonz is too slow for me on my diamond, too jumpy, and the settings screen is jerky and slow. Its just not a pleasant experiance using ifonz.
Of course, i cannot "do better" so, just my own opinion.
okay ifonz setting screen is slow as hell, but who cares, its just for the Settings.
But i don`t think that ifonz is slow, ecspecially the new Version is really fast, and i´m using just a Polaris.
You should wait about one Minute when starting ifionz the first time then it runnes really smooth.
Anyway, my weathericons for SIDs App are ready (96 Pixel VGA PNGs). Now i must do ifonz icons out of this.
i made four different backgounds (Day, Day-snow,Night, Night-Snow)
Hi bluemetalaxe
bluemetalaxe said:
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Click to expand...
Click to collapse
Sorry I answer so late,
I will look for your problem when im Home this afternon. Also I will post a small description of the errormanagement of the script.
launching app
Hi! this is a great application, it is all I missed on iFonz. It would be great if one could launch the weather panel by bluemetalaxe (http://forum.xda-developers.com/showthread.php?t=436656&page=6). I am a newbie and I dunno how to do it. Any suggestions?
Mart,
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Errorhandling of iFonzWeather
This is a short info about errormanagement of IFonzweather.
When started it checks, if internetconnection is available(Tries if google.com can be reached). If not available it waits 10 seconds and tries again(if connection is available, but breaking while trying to download, it will resart after the setup time).
1. Possibility(Everythig works):
-> Correct actual weathericon will be shown, Temperatures will be shown like "9°(12°/7°)" and forecast will be saved in registry for 5 Days (HKCU\Software\Sid-Shrunk\Weather\...).​
2. Possibility(Data is downloaded but theres an error in the Data)...
2a. ...and there is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "Err(12°/7°)" (Error but forecast available).
2b. ...and there is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "DataErr"(Error and forecast not available).​
3 Possibility(Connection could not be established) ...
2a. ...and here is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "N/A(12°/7°)" (no Connection but forecast available).
2b. ...and here is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "NoData"(Error and forecast not available).​
As I've no dataflatrate, I've deactivated dataconnection via Provider and only use wlan or connection via activesync.
This tool uses available connections, so I think it may not connect to your provider on it's own. But it should use the connection if you've activated it(I've not checked this). May be some of you could post your experiences with this.
@bluemetalaxe: Does it work by now ? If not, what connections have you tried, what language does your device use? If not perhaps you could send me a copy of your modified mort.
PS: The pic look fantastic
MartCronos said:
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Click to expand...
Click to collapse
Hi MartCronos,
I use an non english device too, and it works for me. Have you changed iFonzPixPath = "\program files\s2u2\gfx\weather\" to the correct and full path ?
for me it was iFonzPixPath = "\programme\s2u2\gfx\weather\"
for you it should be iFonzPixPath = "\Archivos de programa\s2u2\gfx\weather\" (if this is how programs folder is called on your device)

[11.12.2009, v 1.4.7] Wallperizer - wallpaper changer

Here is a free, open source, wallpaper changer. The screenshots explain what the program can do.
Note: If a phone call is in progress, the wallpaper is not changed (because it takes a number of seconds to change it).
Download. Simply copy it on your Windows Mobile 6 device and run it. (Works on my Polaris.)
Details
Source code
Works great, thank you very much.
I'll try it on my Samsung Omnia If I get it right, this app will finally let me set pictures that are smaller/bigger than my sreen with resizing them to the screen size?
THANKs
.
Awesome!! does it work for wm5? .. dont say 6 only
It should work on Windows Mobile 5 (I haven't tried the latest version), but you first have to install .Net Compact Framework 2 from Microsoft: here.
Windows 6.5 Wallpaper
A good place to get wallpapers is FFFFound.com
Here is the wallpaper that I'm using
http://ffffound.com/image/1833eeacd07acf07502260ed70c5be62af6f9185
Cool...good job!
Cool works great.
It would be awesome if it had a "silent" mode without gui and the wallpaper given by parameters for scripting use.
i.e.
wallperizermob.exe -silent -changeto "/Wallpapers/mywalpaper.jpg"
I know it´s open source but I´m not able to code/compile this feature
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
6ITdtvFQqY said:
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
Click to expand...
Click to collapse
That is nice, and I'm loving your app! It was quite slow at changing wallpaper at first, but I unchecked all fades/normalizes/sosoes and now it does change pretty fast. Any chance you could add:
a "random picture" setting (not to have it change in alphatbetical order, that is);
shorter change intervals (like 15 mins and 5 mins);
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
And maybe even cab the exe up and get a custom icon?
So far it's the best automatic wallpaper changer for 6.5 Titanium interface!
EDIT: as you can see from my screenshots, looks like we have a couple of glitches... in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...) and in start menu background remains the one it was there at boot (it changes only after a soft-reset). Think you can sort that out?
teorouge said:
"random picture" setting (not to have it change in alphatbetical order, that is);
Click to expand...
Click to collapse
I'll implement that.
teorouge said:
shorter change intervals (like 15 mins and 5 mins);
Click to expand...
Click to collapse
I didn't add those settings because the user would have to start the phone too often to see the wallpaper changing. I guess some people might do that just to see a new picture. Also note that this would consume more battery. I'll add these too.
teorouge said:
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
Click to expand...
Click to collapse
The programming framework doesn't have a way to do that. It could be done but I don't know how much work that would involve... and the development of the program is frozen.
teorouge said:
And maybe even cab
Click to expand...
Click to collapse
I didn't make a cab because I like my programs on the SD card, being able to run without being installed, so that no matter how many times I hard-reset the device, I will still have the programs ready to run (I don't have to install any program ever again).
teorouge said:
a custom icon
Click to expand...
Click to collapse
I'll add one.
teorouge said:
in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...)
Click to expand...
Click to collapse
The wallpaper pictures are shorter on purpose (and so the OS tiles them vertically). Normally, the today bars are opaque and stretching pictures on the entire screen area would cover a significant part of the pictures; this doesn't matter on a desktop computer, but a PDA's screen is too small (relative to the bars). For now this will remain unchanged.
teorouge said:
and in start menu background remains the one it was there at boot (it changes only after a soft-reset).
Click to expand...
Click to collapse
I did that on purpose (but it should not display any kind of picture, or the skin's default picture, as it happens in WM 6.1). On WM 6.1, the today menu doesn't cover the entire screen and when it's opened, if it were to display the same picture as the screen, it would look as if the menu doesn't end anywhere. That's a weird feeling. We'll see how WM 7 will display it's today menu.
Version 1.4.5 is up.
In the "Various" tab there is a check-box to use a random picture.
The background picture of the start menu is changed on my WM 6.1, but only if TouchFlo is not running (I don't know why TouchFlo is not using it).
I have a problem.. not with our program, but with one that we e been trying to fix with roryB on a different thread:
the idea is that the wallpaper would change baed onthe regitry of htc home or manila weather panel and use e riginal weather graphics. there are 40 files in all and they are png's located in windows. we have been able to get mortscrip to change the reg but not the wallpaper.
It has do do the folowing:
1. watch the regitry for changes to the weather update
(the registry updates when you go to the weather panel and it auto updates)
2. based on the updated registry change the wallpaper to HH_WEATHER_##.png
3. refresh the wallpaper on the today screen.
it would be fine if the program copied the image and saved it n a different format such as jpg or gif; howver due to the large filecount t can not have the all 40 weather graphics in a separate folder or have duplicates. that would cost too much space.
RoryB is uing manila 1.5 (update 23) I am uing the mega manila which requres the media package to be able to set the today walpaper... however can be set via the file explorer or any other program for that matter. it does not allow to use the walpaper from the tsk.
my question is: what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
If you could please let me know via pm or email? please.
Thank you so much, very appreciated!
S.V.I said:
what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
Click to expand...
Click to collapse
You can look at the source code, in file "HaraWork \ SourceCode_VS \ Wallperizer \ Wallperizer \ MainForm.cs", the "void SetNativeWallpaper" method.
There are lots of steps and they have to be followed exactly, or else either Windows Today or Manila do not show the wallpaper. Just as an example, Manila refuses to show the wallpaper if the "HKCU \ Software \ Microsoft \ Today \ Wall" registry key is not set with whatever text.
By the way, I don't think PNGs are supported by the OS. You must copy the wallpaper in the "Windows" directory as BMP or JPEG (GIF works too). Note that the file name is specific, you can't use anything you want; "tdywater_[screen width]_[screen height]" is the name. The file name is created in the "string GetWallpaperFileName" method.
(Be sure to remove the read-only attribute of the "tdywater" / "stwater" files before you try to overwrite them.)
wallpaper doesn't change automatically
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Arashi1118 said:
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Click to expand...
Click to collapse
Make sure you download the latest version (1.4.5).
Click on the "Wallpaper information" button and see "Loaded pictures". If it says "0" then the program failed to either load the pictures or failed to set any of them as wallpaper (if this happens, they are cleared from the internal queue).
(You could manually set a wallpaper in order to be sure it works on your PDA.)
Version 1.4.7
* Added command line parameters.
* Check the "Portrait and landscape" check-box (from the "Various" tab) in order for the wallpaper to be set for both screen formats (= portrait and landscape). Note that this requires twice the processing time every time the wallpaper is changed.

[APP] RockClock - FREE Alarm Clock

v1.5.0.3 RELEASED ! - [email protected]:15 - DISCONTINUED
RockClock is a simple FREE Alarm Clock for Windows Phone/Mobile 6.1 and 6.5 Professional devices with .NET Compact Framework 3.5 (and above).
Being my first ever .NET application, RockClock started life as a simple wakeup timer…which would simply turn on my Blackstone and run another program for me at 30 minute intervals. Then a friend found a freeware font whilst browsing the web and suggested I adapted my program to be a simple alarm clock and 'RockClock' was born.
Main Features:
- 4 Alarms, which will wake the device from a standby state
- Alarm Sound selection
- Adjustable Snooze timer
- Toggle UI elements
- Countdown Timer
- Stopwatch with laptimer
- Vibration option
- Clock colour selection
- Finger friendly UI
Please leave comments or bug reports as some feedback on my first ever program would be great.
POSTS SINCE UPDATE START HERE - http://forum.xda-developers.com/showthread.php?p=5875656#post5875656
Things left to do:
- Sort the alarms on the Clock screen into time order
- Flight-Mode On/Off Option (...having issues with this!)
- Quicker settings interface
- Integration with the System alarm clock so Manila and other applications recognise when the next alarm is due (…maybe)
Tested on WVGA (Blackstone) and VGA and QVGA device emulators.
If you like RockClock please feel free to donate… and inspire me to create more apps...or simply upgrade my handset!
In the event XDA Dev's becomes unavailable a mirror of this program is available on my site, which can be accessed by scanning my avatar or clicking HERE.
.
The ZIP File contains both a Windows Mobile Installer file or you can optionally install the CABS from the CABS folder in the ZIP.
Thank you very much. I will give it a try
Installed but could not run. Didn't even get an icon in Start Menu.
Tried running the EXE directly from the installed folder and I got these errors.
Tried it on:
1. Dopod D810, wm6.0 stock WWE ROM
2. HTC Touch Pro2, wm6.1 stock WWE ROM
both with .Net Compact Framework 2 & 3.5 installed
Hmmm...thanks for trying it out...it seems that the program I have to package this up is a bit naff so here's the CAB for the .NET SQL component.
Hopefully that'll get it working until I sort out the packager.
Got it working on my TP2 after installing the second cab. But I don't see how this is much different than the manilla alarm clock.
rbardos said:
Got it working on my TP2 after installing the second cab. But I don't see how this is much different than the manilla alarm clock.
Click to expand...
Click to collapse
But what if you don't use Manila? And what if a person wants to develop something that started as a fun project?
Will give this app a go on my TouchPro2 running WM6.1 without Manila!
rbardos said:
Got it working on my TP2 after installing the second cab. But I don't see how this is much different than the manilla alarm clock.
Click to expand...
Click to collapse
For me it's nicer to look at at night when I'm charging my phone and don't have a clock in the room than looking at the manila screen which is REALLY bright when on charge.
Any chances to get this for QVGA?
claus1953 said:
Any chances to get this for QVGA?
Click to expand...
Click to collapse
Sorry didn't have the device emulator installed....I just installed it and tested it and it seems to be working okay with both CAB's installed.
I've also amended the first post to say it works.
mccune said:
But what if you don't use Manila? And what if a person wants to develop something that started as a fun project?
Click to expand...
Click to collapse
Yes good point. Would like to see touch scrolling on the setting page and maybe a snooze button when the alarm goes off.
I agree that this will look better at night with the darker color scheme.
After installing the RockClock cab i get a message
Code:
proc ok
invalid handle
The shortcut to launch the app has no icon, and launching the clock gives
Code:
The file rockclock cannot be opened. Either it is not signed etc etc
I installed the clock on the storage card and first the second cab too, then i tried to install the second cab in device memory, but it is the same.
Edit: After installing both cabs into device memory the same error "invalid handle" comes up, the shortcut has still no icon, but the clock launches now.
While setting the clock up i saw there is no option to select the alarm sound to be used. Did i oversee it or is it not there? I set one alarm and pushed the power button to put the phone in sleep, without exiting the appl. At the time set the device did wake up and a bip bip sounded (i would prefere to be able to choose some other alarm or an mp3). To be able to access the settings again i need to exit the appl. and start it again, but this gives me the error:
Alarm schedule failed!
Please exit the application
and try again.
Acknowledging this error message starts the appl, and i can access the settings again.
Now if i set up an alarm and then exit the appl., it starts up at the set time, but then the above mentioned error pops up, and by the time i tap ok the application opens but no alarm sounds.
This are my findings up to now.
claus1953 said:
After installing the RockClock cab i get a message
Code:
proc ok
invalid handle
The shortcut to launch the app has no icon, and launching the clock gives
Code:
The file rockclock cannot be opened. Either it is not signed etc etc
I installed the clock on the storage card and first the second cab too, then i tried to install the second cab in device memory, but it is the same.
Edit: After installing both cabs into device memory the same error "invalid handle" comes up, the shortcut has still no icon, but the clock launches now.
While setting the clock up i saw there is no option to select the alarm sound to be used. Did i oversee it or is it not there? I set one alarm and pushed the power button to put the phone in sleep. At the time set the device did wake up and a bip bip sounded (i would prefere to be able to choose some other alarm or an mp3). To be able to access the settings again i need to exit the appl. and start it again, but this gives me the error:
Alarm schedule failed!
Please exit the application
and try again.
Acknowledging this error message starts the appl, and i can access the settings again.
Now if i set up an alarm and then exit the appl., it starts up at the set time, but then the above mentioned error pops up, and by the time i tap ok the application opens but no alarm sounds.
This are my findings up to now.
Click to expand...
Click to collapse
The sound settings have not yet been put in place as detailed in the first post. Not sure why the schedule is a problem, will look into that because it uses the standard CeRunappattime API call but I might know what the problem is.
I believe the rest of the issues are caused by the program that does the packaging for the cab installer..I'll have to find a new one.
I tested the program today on an P3300 and the shortcut icon did not appear but everything installed okay, the icon and program install fine on my blackstone though so I will try to find a new packaging app.
I'll put some changes in place and upload a new version when I can but as said earlier, I'm completly new to all this so it may take a while to perfect the code.
welki1979 said:
The sound settings have not yet been put in place as detailed in the first post. Not sure why the schedule is a problem, will look into that because it uses the standard CeRunappattime API call but I might know what the problem is.
I believe the rest of the issues are caused by the program that does the packaging for the cab installer..I'll have to find a new one.
I tested the program today on an P3300 and the shortcut icon did not appear but everything installed okay, the icon and program install fine on my blackstone though so I will try to find a new packaging app.
I'll put some changes in place and upload a new version when I can but as said earlier, I'm completly new to all this so it may take a while to perfect the code.
Click to expand...
Click to collapse
Ok...thanks for your replay, will test the new release as soon as available.
I think I've fixed it! I've also tweaked a few bits and added the ability to choose your alarm sound for now.
I'll make the alarms have independent sounds in future builds.
Testing it atm but will post it soon if it works as expected.
Mesquire said:
Installed but could not run. Didn't even get an icon in Start Menu.
Tried running the EXE directly from the installed folder and I got these errors.
Click to expand...
Click to collapse
Same problems.On my HTC Diamond with custom WM 6.1 ROM, CF 3.5 and the .cab from post #4
http://forum.xda-developers.com/attachment.php?attachmentid=277372&d=1265407324
Starting the .exe
After clicking "ok
I've still not fixed it yet...am re-writing the alarms procedure atm but am new to this so please be patient.
I'lll update the first post when it's done.
I'm interested in your application. But I got the same message on my HTC Touch HD. I don't find the app. in the suppression programs list : how can we uninstall it (until problems will be fixed)? Thank you.
Rodolphe123 said:
I'm interested in your application. But I got the same message on my HTC Touch HD. I don't find the app. in the suppression programs list : how can we uninstall it (until problems will be fixed)? Thank you.
Click to expand...
Click to collapse
Open remove programs and there is the appl headloaf rockclock listed.
New version released with a new installer too so hopefully things will work better.
Download on 1st post.
mccune said:
But what if you don't use Manila? And what if a person wants to develop something that started as a fun project?
Will give this app a go on my TouchPro2 running WM6.1 without Manila!
Click to expand...
Click to collapse
Thanks for the support!...Also it beats paying $12.50 for something like pTravelAlarm

[UPDATE 06/07/2010][APP][SOURCE]Wallpaper Changer - WaPaC 1.4

Wallpaper Changer - WaPaC 1.4
Created by Rapid​
Now OpenSource (see the bottom of this post)​
Because I don't have time to develop this application further and the current state of the program is fine for my use, I share the WaPaC's source by the community now.
A few terms, what you need to consider, before you use the source and consider to develop it in the future:
The WaPaC name needs to stay as it is, or if not and you use the source code, you need to mention it!
You need to mention my name, as the original developer of this program and where are the sources came from
You need to mention mohitsapru's name, as the developer of the scheduler component
I need a PM (or email) about the releases where you used the source or the release of a new WaPaC version
The future versions needs to be Windows Mobile version and Resolution free a.k.a. needs to work on every WinMo versions (5.0, 6.0, 6.1, 6.5, 6.5.X) and all resolutions!
I created a wallpaper changer application (WaPaC), to the scheduled wallpaper changing on WM's Today and on Sense. Tested on Samsung Omnia 2 with Sense 2.5 and everything is working fine.
The program is not a beta anymore, but still under development and may contains some bugs.
Changes in 1.4
No maximum files number anymore (maximum folders number is still 100)
A "Change NOW interface" added to select the needed UI to the change
Now the settings app shows the next time of the schedule
Random and continuously change setting added (you'll see randomizing popup window sometimes)
Intervals minimum set low to 1 minute with 1 minute steps
Besides the interval, now you can change the wallpapers at a specific time, like 8:00AM every day
The "back to the previous wallpaper" function is added and accessible with the "-prev" parameter and will change all choosen UI's wallpapers back to the previous one (not 100% if you use more than 1 directory for wallpapers storing).
The installer creates a "Change Now" and "Previous wallpaper" shortcut
Because I cannot create a setup.dll, the additional shortcuts is downloadable from the bottom of this post, but you need to edit the files, if you're not install the app to the device.
Several minor and major bugfixes
Changes in 1.3
The program is now compatible with CHT 1.8.X. You can change the wallpaper of the Home tab, All tab and CHT Lockscreen.
When you plug your phone to USB with Mass Storage settings, and the needed folder is not available to the WaPaC (or you deleted a selected folder), the app not crash.
Context menu added to the Selected Folders list to remove folders (if the folder is not available anymore, etc.)
The application is pops up a warning in the case you not select any UI, when you want to save the settings (not when you uncheck all).
Changes in 1.21
The folder changing bug fixed (when you tap on a folder and jumped to an other in the selected one)
Changes in 1.2
Redesigned interface
Separated setting for "Change on Windows start" (If you have an earlier version installed, then you need to uncheck and save, then recheck and save the "Start with Windows" option, because the shortcut contents is changed)
You can choose Minutes or Hours format at Interval settings
Interval changed to 5-1440 minutes or 1 to 24 hours
"Change NOW" button added
"Change only in idle state" option added (This means, if you're using the phone (the backlight is on) in the time when the scheduled change comes, the changing is delayed)
Maximum selectable folder number is 100
Changes in 1.1ß
- Folderselection is now free
- Maximum picture number changed to 10000/folder
- No need to refresh the list when you put new pictures in a selected folder
- Selected folders list stored and displayed after start and easy to modify.
- You can add a folder to the selected folders list by checking the checkbox near the folder's name. You can remove by the same method.
The program's not listing the directories with the following names:
- Windows
- Program Files
- Application data
- ConnMgr
- Documents and Settings
- Temp
Changes in 1.03ß (1.02 skipped, because some real trouble):
- S2U2 background change added (not tested)
- Settings saving corrected (HKCU\Software\WaPaC\)
- Interval steps changed to 5 mins
- Settings application supports all resolutions (tested on VGA, QVGA, WQVGA, WVGA, Square)
Changes in 1.01ß
- Start with Windows option problem fixed
- Clear Sense Background option added
Features:
- maximum 10000 pictures from multiple folders
- changeable interval from 10 to 720 minutes (12 hours)
- chooseable user interface to change background (Today and Sense)
- same wallpaper for the 2 UI or not
- start with Windows possibility
- not use memory at all, the changing starts with schedule and then quit
- separate settings application (only WVGA resolution supported yet)
- you can start/stop the scheduling in the settings app
Special thanx:
mohitsapru for his help
It is possible the program is working on other Sense, Manila or TouchFlo versions than Sense 2.5, if the wallpaper stored in the same place.
If you want to test it, download the cab and please give me some feedback and ideas, if you have any, to improve the app.
Download
If you appriciate my work, don't forget to buy me a beer...https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=10789299
Big thanx to who's appriciated my work 'till now!
5€ Matthiew Marks
7€ donwhann
5€ Joao Costa
5€ Naga01
1.01ß added
Thanks, gonna try on VGA - WM 6.5.5 - Sense 2.5.2012 and report back!
ps. why don't you attach the program here, too?
Hi Rapid81
This looks a great little app.
I have just tested it and unfortunately I get an "IndexOutOfRangeException" error when I hit the Load folder's list button. It starts to look at my whole sd card and then bombs out with that error.
Maybe adding the option to choose the folder without indexing the whole card is the way to go.
I am running this on a Touch HD with Energy 16 May 23569 CHT ROM.
Hope this helps.
Look forward to testing the next release.
teorouge said:
Thanks, gonna try on VGA - WM 6.5.5 - Sense 2.5.2012 and report back!
ps. why don't you attach the program here, too?
Click to expand...
Click to collapse
1.03 version uploaded. Now the settings app supports all resolutions.
ed_sambo said:
Hi Rapid81
This looks a great little app.
I have just tested it and unfortunately I get an "IndexOutOfRangeException" error when I hit the Load folder's list button. It starts to look at my whole sd card and then bombs out with that error.
Maybe adding the option to choose the folder without indexing the whole card is the way to go.
I am running this on a Touch HD with Energy 16 May 23569 CHT ROM.
Hope this helps.
Look forward to testing the next release.
Click to expand...
Click to collapse
I need to look through the whole system, because no SelectFolderDialog in NETCF. Maybe more than 100 folders contains pictures. I rised this number to 1000 in 1.03.
Rapid81 said:
1.03 version uploaded. Now the settings app supports all resolutions.
Click to expand...
Click to collapse
Wow! Couldn't even install it yet and you release an update!
Going with 1.03 then.
I've been waiting and hoping for a new wallpaper changer since antworks doesn't seem to change the today screen without locking up after a while. Glad to see yours has S2U2 changing and Sense as well.
I'm also getting the same error when it tries to load all the folders, and would agree that rather than try to index all the wallpaper, just allow the user to choose the folder. I have a 16Gig sd card, so it takes a lonnnng time to try to index that if I ever want to make a change.
Keep up the good work!
The biggest suggestion I have is a problem I have with other wallpaper changers. If the phone has been in standby when the wallpaper changed, when you power it on it takes 5-10 seconds to come on because it is loading the wallpaper. If there was some way to refresh the wallpaper beforehand so it would just power on instantly, that would be awesome.
S2U2's own wallpaper changing appears to not change while the phone is in standby. That's pretty cool too because it saves battery, plus fewer things running that might cause an error, say in the middle of the night, which = no alarm in the morning.
I tried to write my own wallpaper changing script with mortscript, but was never able to get it to be stable, so I appreciate what you're doing very much.
Gryphyn said:
I've been waiting and hoping for a new wallpaper changer since antworks doesn't seem to change the today screen without locking up after a while. Glad to see yours has S2U2 changing and Sense as well.
I'm also getting the same error when it tries to load all the folders, and would agree that rather than try to index all the wallpaper, just allow the user to choose the folder. I have a 16Gig sd card, so it takes a lonnnng time to try to index that if I ever want to make a change.
Keep up the good work!
The biggest suggestion I have is a problem I have with other wallpaper changers. If the phone has been in standby when the wallpaper changed, when you power it on it takes 5-10 seconds to come on because it is loading the wallpaper. If there was some way to refresh the wallpaper beforehand so it would just power on instantly, that would be awesome.
S2U2's own wallpaper changing appears to not change while the phone is in standby. That's pretty cool too because it saves battery, plus fewer things running that might cause an error, say in the middle of the night, which = no alarm in the morning.
I tried to write my own wallpaper changing script with mortscript, but was never able to get it to be stable, so I appreciate what you're doing very much.
Click to expand...
Click to collapse
My problem is, there is no SelectFolderDialog in NETCF. That's why the application runs through the storage. If I'm creating a SelectFolderDialog instead of this method, you'll select only one folder and no subfolders o more separated folder. I'll try to came up with a workable idea, but I'm not making any promises.
This app change the wallpaper when the phone is in sleep mode. The phone does not came alive, just change the wallpaper in the backgound. You can't see anything about it, just the new wallpapers when you unclock your phone.
I guess I solved this "I want to select the directories on my own" and "why the apps runs through the whole system" problems.
Now you have a "file explorer"-like thing and a second list where is the app stores the selected directories. The directories stays checked and reloaded on settings app restarts.
Still testing, but if I'll not found problems, I'll upload it soon.
The solution is not 100% finger-friendly...
Something like this:
1.1ß uploaded
Been testing it this afternoon. The folder selection is very helpful, I can get it to run now.
It appears to change the wallpaper in all 3 places (S2U2, today, sense) just fine. I've noticed though that the spinning "busy" icon starts up and keeps going and going until I do something like click a tab. Then it pauses for a bit and makes the switch. When the phone has been in standby and I power it on, S2U2 will have the "busy" icon on its screen and will wait until I unlock into Sense to make the change.
I did have a couple instances of it freezing up, I thought this might be due to trying to change the Today background, since Antworks autowallpaperchanger would do something similar. It wouldn't freeze all the time, just some of the time, and I would have to not change the today wallpaper to fix that.
so far this is exactly what i was looking for. thank you very much for this!
Not even sure what started this problem, I did so many different things to get wallpapers I confused myself, now I dont know wich is causing problem. Can you help?
was getting errors when restarted phone about WaPac so I removed the app and soft reset etc. Now I get following message....
>>>>>>>>>>>>>>
The file "WaPac cannot be opened. Either it is not signed with a trusted certificate, or onew of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
>>>>>>>>
So I reinstalled, same problem, removed same message...
Any ideas, I guess Im not completely removing all I need to???
Not even sure what started this problem, I did so many different things to get wallpapers I confused myself, now I dont know wich is causing problem. Can you help?
was getting errors when restarted phone about WaPac so I removed the app and soft reset etc. Now I get following message....(also trying to get a good 'screenshot' program so I can show you easier, but had probs with bsbtweaks install also-another day/thread for that!)
>>>>>>>>>>>>>>
The file "WaPac cannot be opened. Either it is not signed with a trusted certificate, or onew of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
>>>>>>>>
So I reinstalled, same problem, removed same message...
Any ideas, I guess Im not completely removing all I need to???
recap-ive got cookies home tab, cookies hdwall patch, HDWalls, sdkcertsnew.cab.
808Granato said:
Not even sure what started this problem, I did so many different things to get wallpapers I confused myself, now I dont know wich is causing problem. Can you help?
was getting errors when restarted phone about WaPac so I removed the app and soft reset etc. Now I get following message....
>>>>>>>>>>>>>>
The file "WaPac cannot be opened. Either it is not signed with a trusted certificate, or onew of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
>>>>>>>>
So I reinstalled, same problem, removed same message...
Any ideas, I guess Im not completely removing all I need to???
Not even sure what started this problem, I did so many different things to get wallpapers I confused myself, now I dont know wich is causing problem. Can you help?
was getting errors when restarted phone about WaPac so I removed the app and soft reset etc. Now I get following message....(also trying to get a good 'screenshot' program so I can show you easier, but had probs with bsbtweaks install also-another day/thread for that!)
>>>>>>>>>>>>>>
The file "WaPac cannot be opened. Either it is not signed with a trusted certificate, or onew of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
>>>>>>>>
So I reinstalled, same problem, removed same message...
Any ideas, I guess Im not completely removing all I need to???
recap-ive got cookies home tab, cookies hdwall patch, HDWalls, sdkcertsnew.cab.
Click to expand...
Click to collapse
If you checked the "Start with Windows", then you have a WaPaC.lnk in the \Windows\StartUp. That's all. And I recommend you to stop the scheduling before you remove the app.
Been testing without S2U2 just to have fewer things running.
When the phone is awake, if the scheduled change begins to run it won't finish until you force a screen refresh by hitting the windows button or something like that. It just sits and thinks forever with the spinning icon on the screen.
Are there any executable modifiers such as "-now" to open the program and force a screen change immediately? It would be great to be able to make a shortcut to switch the screen on command.
Gryphyn said:
Been testing without S2U2 just to have fewer things running.
When the phone is awake, if the scheduled change begins to run it won't finish until you force a screen refresh by hitting the windows button or something like that. It just sits and thinks forever with the spinning icon on the screen.
Are there any executable modifiers such as "-now" to open the program and force a screen change immediately? It would be great to be able to make a shortcut to switch the screen on command.
Click to expand...
Click to collapse
If you checked the "Start with Windows", then you have a WaPaC.lnk in the \Windows\StartUp folder. You can use that to change immediately.
thank you-easily fixed
wow. welcome to computers 101. sorry for all the hub-bub. I will take it slower so I can better tell my 'issues'.
Will also keep checking back on this app-sounds great, Im just not the right person to be dealing with beta and giving anyone feedback yet.
Thanks for the link info.
Okay, so it doesn't seem to like switching the today wallpaper, which antworks didn't either. It tends to lock up from time to time if I ask it to change the today screen. Any idea why this is? Like I said, antworks changer behaves the same way. I can't figure it out.
I'm running WM 6.5 stock Sprint rom with Goodthings2life's tweaks. Sense 2.5. Touch Pro 2.
Gryphyn said:
Thanks for the link info.
Okay, so it doesn't seem to like switching the today wallpaper, which antworks didn't either. It tends to lock up from time to time if I ask it to change the today screen. Any idea why this is? Like I said, antworks changer behaves the same way. I can't figure it out.
I'm running WM 6.5 stock Sprint rom with Goodthings2life's tweaks. Sense 2.5. Touch Pro 2.
Click to expand...
Click to collapse
What UI do you use? When I alphatested the app, and I not used any UI, the background not refreshed, just after a program open and close. I cannot figured out a way to refresh the empty today right now, but I'm looking for it. But when I used Sense or Windows Default, the Today, Start Menu and Lockscreen changed properly.
Rapid81 said:
What UI do you use? When I alphatested the app, and I not used any UI, the background not refreshed, just after a program open and close. I cannot figured out a way to refresh the empty today right now, but I'm looking for it. But when I used Sense or Windows Default, the Today, Start Menu and Lockscreen changed properly.
Click to expand...
Click to collapse
Just using Sense UI 2.5. It is weird because it doesn't lock up the phone every single time, just some of the time. I don't have the weather animations going, don't have animated wallpaper. No start menu/lock screen modifications, all stock.
I'm not using S2U2 right now as I test this, but it would change just fine, Sense would change just fine, it is only the today/lockscreen that causes a problem. It seems to be something about the refresh, because the phone would lock up before the screen changed, but after rebooting the wallpaper would have changed. So, I know it isn't the copying of the files, that is being completed.
EDIT> Think I just figured out the problem, after reading this thread: http://forum.xda-developers.com/showthread.php?t=600892&page=4
It most likely is a file extension issue, which is why it works sometimes and doesn't work other times. It works until the random function hits a file that is the wrong extension and locks up. Although, that doesn't explain why the images are there once I reboot. Anyway, I'll test by splitting the file types.
EDIT 2> Well, hosed there. All my files are jpegs.

Categories

Resources