[UPDATE 06/07/2010][APP][SOURCE]Wallpaper Changer - WaPaC 1.4 - Windows Mobile Apps and Games

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.

Related

S2U2 UserWeather MortScript

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?

[App] Pocket Quotes 1.0

Current version: 1.0
Description: Pocket Quotes allows you to track as many stocks as you want, and to display daily/weekly/yearly charts of a stock.
Source code and CAB installer at: http://pocketquotes.codeplex.com
Last update: 6/4/09
Features:
1. Unlimited number of stocks that can be tracked
2. Can configure interval of updates
3. Can keep comma delimited file of update history
4. Pocket PC and PC versions
5. Open Source, written in Basic4ppc
Version .12
Version .12 has been uploaded to the main post.
Changes:
1. CAB installation
2. Added ability to add/delete stocks
3. Modified screen to show % change
Pocket Quotes great on my Samsung Epix
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
Thanks for the feedback and suggestions - I had stopped working on this because it didn't look like there was any interest. I'll take some of your ideas and add them to the next release (which will be after I finish taking the PMP certification - preparing for that is taking up a lot of my spare time)
I'll check on the DJ symbols - they should work since it works within Yahoo and I'm using the Yahoo feed for updates.
also eur/usd parameter should b configurable as well...
good appz
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
I fixed the VGA display (Portrait only) and tested the Dow Jones - it doesn't work because "^DJI" is passed as part of the string and http doesn't like that. I need to urlencode it and see if that works.
I'll work on some of the other suggestions and get a developer's release out soon.
Version D-14
I have placed version D-14 (developer's release) on the main post. Unzip and copy to your PDA.
I have not implemented any of the excellent suggestions yet - I'm working on stabilizing the core functionality before I start adding to it.
Changes included in this release:
1. Added a splash screen on start-up (it's downloading stock updates in the background)
2. Fixed sort when adding stock symbol
3. Fixed VGA display (still only Portrait though)
4. URL encoded "^" for DJI - but it still doesn't work. I need to work with the Yahoo RSS feed to see why not
5. Fixed delete symbol bug (it didn't update all of the arrays, causing the wrong details to be displayed on a symbol)
For anyone with B4PPC, I added the source code to the zip file. Requires the ListView and fgControls library (included)
Feedback and suggestions are welcome.
UPDATE: Version D-14 uploaded to first post. I had left off a zero in the timer control, causing the program to refresh 6 seconds x setting - needed to be every 60 seconds per each minute in the setting.
Release D-15
Release D-13 has been uploaded to the main post
Changes:
1. Add downloading of stock chart when selecting stock symbol
2. Organized program images into gfx directory
3. Minor bug fixes & tweaks
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
First, thanks for the feedback.
When you delete a stock, it should go to the download routine (it will display the download image) and then repaint the screen. On my PDA it does not put the symbol that was deleted back there.
Can you send me the stock symbols that you are using? I'll try a test with that.
As for the display on 320x320 - that is a resolution that I've always had mixed results with. I think I am going to remove the stock detail area at the bottom and display it when you click on the symbol (the one that shows the chart) This will make it easier to program as I can use the entire available screen for listing the stocks.
I'll check the add code. I may need to add a refresh or something to force a screen update. There should be a panel with an input box. I did notice it does a refresh download (which it shouldn't do at this point)
Last, I'll install the emulators so I can run some additional testing.
Version D-16
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
I have uploaded D-16 to the main post.
Changes:
1. Stock detail info moved to chart page; main page only shows list of stock symbols
2. Moved "Add Stock Symbol" from pop-up panel to new page; should display
I am in the process of setting up the emulators, but since function has been moved off onto a separate page, they should display properly on all screen sizes (portrait mode only)
Display Issues on Samsung Epix
Looks like Version D-16 still has some issues on my phone.
It appears that the details display area shrunk between version D-13 and D-15.
D-13
D-15
And the chart display area grew between version D-15 and D-16.
D-15
D-16
In terms of the Add Panel, it looks pretty much the same in all three versions, and is functional. Is there some text cut off which is peeking up from behind the cancel button on my display?
D-13
D-15
D-16
In the attached images, note that the ^DJI chart does display. It's just the quotes for ^DJI and other indices that don't work. Maybe a clue to fixing it? Or maybe not.
I still can't delete any symbols from the UI. I'm going to try deleting the ini file, since it was originally created with an old version, and manually edited on my PC. I figure a fresh start couldn't hurt and so far I don't have many symbols to re-add anyway. Will let you know how that works out.
I like the idea of the combined chart and details screen. If you can figure out how to get the display area for details to be sized right (as it was in D-13), then maybe you could use whatever is left on the screen to display the chart.
Also meant to add, that the display of the actual stocks on D16 works well. Just missing the data for the market indices.
I appreciate the work you are putting into this. I think you are on your way to a great little utility here.
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
gibbers said:
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
Click to expand...
Click to collapse
That sounds like it could be the problem why it's not deleting; the "^" symbol is messing things up.
The screen display is cutting off some information on the 320x320 display (works ok on VGA and QVGA) - I have some code that I need to apply to setting the form for 320x320. It's really a simple calculation where if the display is 320 I use an offset factor of 1.25, and if its VGA I use an offset factor of 2. I just need to apply this for your display.
Thanks for the images - it helps me to see what is happening. I'm having trouble getting the networking to work within the emulator so it's not downloading stock data (I may have to build an off-line mode to work around this)
I'll get an update back to you later today.
Version .19
Developer's Release .19
1. Added "splash" screen when updating stocks
2. Added configuration to change list row colors
3. Moved stock info to graph screen - main shows only list of stocks
4. Fixed sort when adding new stock
5. Fixed SIP when adding stock
Still working on some of the other suggestions.
I will cab this on the next release. I'm going to add in a update from web feature (I just implemented the same on pocket quotes) so that users can be sure that they always have the latest version.
Release 1.0
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
digitaldon37 said:
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
Click to expand...
Click to collapse
Thank you for making a stock quote program. I have been looking for a long time and there are relatively few programs that work well. I like many of the things you have done but there are some things I like from other community members. Please take a quick look at the post below.
http://forum.xda-developers.com/showthread.php?t=476613
I like the way each stock line shows red or green depending on stock up/down or profit/loss. Also, its nice to have the added screen space that the scroll bar takes up. Perhaps the scroll bar is not needed?

[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

adfree doesnt work on urukdroid

hi there all
installed and reinstalled urukdroid 1.6rc4 on my A70IT (plus gapps through arctools). there seems to be several issues which i came across
adfree doesnt work - say something like: can't find partition to remount - any ideas anyone?
also a very frustrating issue for me - trying to create a shortcut to a specific gmail label on the homescreen. this option is not available - not in any launcher i tried while it is on the stock archos rom when i boot into it. it's just doesn't show as an option when i long press on homesceen -> select shortcuts from menu - and 'gmail label' is not there... again, any ideas?
also this is a weird one - there seems to be issue with the screen - one example when i turn the tablet the home screen is allways in an off position - like 5 percent left as it is if you were to slide the homescreen to left and stopped your finger 5 percent into the slide... another example is an app ( a kids game called kids connect) - it runs as if it is zoomed in or as if it runs on a little bit higher res than the real screen is and so some of the image is lost at the edges...
anyone seen this before?
mmoalem said:
hi there all
installed and reinstalled urukdroid 1.6rc4 on my A70IT (plus gapps through arctools). there seems to be several issues which i came across
adfree doesnt work - say something like: can't find partition to remount - any ideas anyone?
also a very frustrating issue for me - trying to create a shortcut to a specific gmail label on the homescreen. this option is not available - not in any launcher i tried while it is on the stock archos rom when i boot into it. it's just doesn't show as an option when i long press on homesceen -> select shortcuts from menu - and 'gmail label' is not there... again, any ideas?
also this is a weird one - there seems to be issue with the screen - one example when i turn the tablet the home screen is allways in an off position - like 5 percent left as it is if you were to slide the homescreen to left and stopped your finger 5 percent into the slide... another example is an app ( a kids game called kids connect) - it runs as if it is zoomed in or as if it runs on a little bit higher res than the real screen is and so some of the image is lost at the edges...
anyone seen this before?
Click to expand...
Click to collapse
1. adfree: never worked propper on UD as far as i know (at least not since I use it) - use another app - "adaway" is opensource and does the same, wokred fine for me
2. gmail: sry no idea but reinstalling...
3. launcher (5%): I also had it - but im not sure how i fixed it - it just went away some day - propably I reinstalled launcher or tried another one (try both, i dont have it atm on RC4 and VTL1.6.5)
4. sounds like a bug of the app (some apps dont display propper on any resolution - did u try it on your phone if u got anandroid?)
Next time use - general or app/theme forum - as non of this is development related - just apps...
If u feel some problem might be caused by UD or the latest UD RC update feel free to post any bug in the related Dev thread... (but it seems non of your problems are - as u dont provide before/after informations)
regards
...just one word about ad blocking:
As you know the filesystem in UrukDroid is mounted r/w.
So the easiest way to block advertising would be, overwrite your hosts file manually.
See:
http://winhelp2002.mvps.org/hosts.htm
http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts
This is simply what most adfree apps do... they overwrite your hosts file
Additionally there's endless discussion on this topic, here at XDA-developers.
Have a nice day,
scholbert
Thread moved to proper forum

Categories

Resources