PDA

View Full Version : [App] Pocket Forecast 1.2.6


Pages : 1 [2]

digitaldon37
25th December 2008, 04:50 PM
I had an idea, and I am working on it. I will let you know if it works. In the mean time, I need to know, does Pocket Forecast make and registry entries? I have looked in HKLM and HKCU, but couldn't see anything.

Hi Wolf,

If they are enabled they will write to the registry (PC and PDA)

Today Plugin: HCU\Software\RegDispPlugin - DisplayString
S2U: HCU\Software\A_C\S2U2 - UserWeather

gutte
29th December 2008, 07:12 PM
Don,
nice piece of sw Pocket Forecast! A suggestion for enhancement: make the location name on the main page "clickable" to open a list for switching location.

rexriver
30th December 2008, 12:48 PM
This application looks great but when I start it I get the message:
"could not download rss or read from cache. Restart the application"
I restart and get teh same message...
I'm using WM5, What am I doing wrong?
Thanks

digitaldon37
30th December 2008, 02:31 PM
Don,
nice piece of sw Pocket Forecast! A suggestion for enhancement: make the location name on the main page "clickable" to open a list for switching location.

Thanks for the feedback.

I had thought of making location name clickable but it is not possible without adding an image button that can be clicked. Maybe in the future when I add a full screen option I can use an image on the top status bar.

The program does have finger swiping to scroll through locations though. And you can get to the location editor through File->Locations

digitaldon37
30th December 2008, 02:35 PM
This application looks great but when I start it I get the message:
"could not download rss or read from cache. Restart the application"
I restart and get teh same message...
I'm using WM5, What am I doing wrong?
Thanks

Hi. This usually means that the program can not access the internet (specifically Yahoo's weather) to download a weather feed. Check to see if there is a directory "cache" and if there is a file "77095.cache" or "default.cache" in the cache directory.

You can try the URL below in a PC web browser and saving the results as "77095.cache" (copy that file to your PDA to the "cache" directory)

http://weather.yahooapis.com/forecastrss?p=77095&d

rexriver
30th December 2008, 10:12 PM
Thanks Digitaldon37!
That was exactly the solution. It now displays the WX perfectly!
I only wish I could have in the "locations" directory the names of the cities displayed instead of the code in order to switch more easily between cities.
Thanks again for your help!
It looks great now on my PPC with the Diamond theme!

digitaldon37
30th December 2008, 11:57 PM
Thanks Digitaldon37!
That was exactly the solution. It now displays the WX perfectly!
I only wish I could have in the "locations" directory the names of the cities displayed instead of the code in order to switch more easily between cities.
Thanks again for your help!
It looks great now on my PPC with the Diamond theme!

I've added this to the features request list, and I may add the city name in the next release.

digitaldon37
1st January 2009, 12:24 AM
Version 1.2.2 / D.51 - fixes a date format issue that shows up for 1/1/09

For source code, PC version, and more information please see the site wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_forecast&DokuWiki=0b976c1b59dec48f82e3f2247206d918

gutte
8th January 2009, 08:18 PM
Hi Don,
I run PF on a HTC Touch Dual with Win Mobile 6.1 Nordic version.
1. Have trouble with the Barometer reading - it always shows 0 mb whatever location I select. However, the change info varies (rising, steady etc). Has this problem been reported earlier?
2. It is fine to be able to switch between Farenheit & Celsius. Can you add an option to switch between wind kph & m/s ?
3. Info on moon fase is available at Yahoo. Can such a line be added in the now details page? (There is space enough I think)
4. Is it possible to add your own language / provide you with a language file?
Thx for a nice app! ;)

digitaldon37
8th January 2009, 09:13 PM
Hi Don,
I run PF on a HTC Touch Dual with Win Mobile 6.1 Nordic version.
1. Have trouble with the Barometer reading - it always shows 0 mb whatever location I select. However, the change info varies (rising, steady etc). Has this problem been reported earlier?
2. It is fine to be able to switch between Farenheit & Celsius. Can you add an option to switch between wind kph & m/s ?
3. Info on moon fase is available at Yahoo. Can such a line be added in the now details page? (There is space enough I think)
4. Is it possible to add your own language / provide you with a language file?
Thx for a nice app! ;)

Hi. Thanks for the feedback.

1. I'll have to look into this. The program reports what Yahoo sends back - you are the first to mention a problem with this.
2. I'll have to see if the Yahoo feed provides both kph and m/s
3. I'll have to check on this also to see if it is available in the feed.

I'm working on a plug-in that will probably use the CF web browser control - shouldn't be a problem in adding a "more info" link to display additional weather info (this was on an earlier request)

4. I could add a generic optional language in a future release, but you can use one of the existing language files and create your own (ie if you want to use Russian, edit the Russian file with the language of your choice)

[germany]merlot
9th January 2009, 12:16 PM
.45 (12/17/08)
================================================== ==================
- left/right & right/left finger swipe to switch locations (klaus)

Here you write that we can switch between the locations by using left/rigth or otherwise gestures. But this is not working for me and my device (Samsung Omnia). Or is it only in a special region of the screen? At the moment I've setup three locations and all three are working perfectly but not together only a single solution.

digitaldon37
9th January 2009, 03:21 PM
merlot;3143008']Here you write that we can switch between the locations by using left/rigth or otherwise gestures. But this is not working for me and my device (Samsung Omnia). Or is it only in a special region of the screen? At the moment I've setup three locations and all three are working perfectly but not together only a single solution.

Hi. You should be able to swipe in the "Today" and "Tomorrow" sections. The code looks for something like this: touch, move finger across for several pixels (left to right, right to left), and then remove finger.

[germany]merlot
9th January 2009, 04:08 PM
Hi. You should be able to swipe in the "Today" and "Tomorrow" sections. The code looks for something like this: touch, move finger across for several pixels (left to right, right to left), and then remove finger.

Yes, now it's working when I swipe in the today section. Maybe I was to fast I tried before. Thanks mate.

keithdupont
9th January 2009, 07:52 PM
I modified this theme HTC Diamond (icons by Bluemetalaxe), If anyone is interested all I changed was the buttons and background. Credit for the soft goes to digitaldon37 and bluemetalaxe for the skin I started with.

digitaldon37
9th January 2009, 08:24 PM
I modified this theme HTC Diamond (icons by Bluemetalaxe), If anyone is interested all I changed was the buttons and background. Credit for the soft goes to digitaldon37 and bluemetalaxe for the skin I started with.

Nice theme! I just bought a blue Acer Aspire netbook and this theme goes with it nicely

keithdupont
9th January 2009, 08:33 PM
Nice theme! I just bought a blue Acer Aspire netbook and this theme goes with it nicely


Thank you, Hey I wanted also to change the weather icons but everytime I do they don't look good. Is there a trick to this? I notice the white frame is not really a frame but a white square behind the weather icon. I tried stardock icons in png format but they were stretched???

digitaldon37
9th January 2009, 10:24 PM
Thank you, Hey I wanted also to change the weather icons but everytime I do they don't look good. Is there a trick to this? I notice the white frame is not really a frame but a white square behind the weather icon. I tried stardock icons in png format but they were stretched???

The icons on the main page are button icons, so they have a background color property. I may see if I can change that in a future release. The icons on the detail page are not button icons, so they can lay over a background image.

gutte
12th January 2009, 07:04 PM
Thx for your reply Don!
Regarding the language files. I have prepared a Swedish one, but there is a problem with doing this. I guess that the number in the first line of a language file shows the number of following txt lines. In 1.2.2 the number is 58 but when I count the txt lines, I get 59. And this seems to hold true for all the language files that comes with the installation. And one more thing here: the word "Minimize" in the main screen can not be changed - it prevails whatever language file you use. Any connection here or am I just ignorant?

gutte
12th January 2009, 07:08 PM
Just to inform you Don: sliding to change location works fine on my HTC Touch Dual running Win mobile 6.1

gutte
13th January 2009, 09:31 AM
Hi Don!
I have discovered a problem with the reading of Barometer. When I use Farenheit, PF shows correct pressure values, but if I switch to Celsius PF always shows "Barometer: 0 mb (something)".
As you may remember, I run Win mobile 6.1 Nordic version in my HTC Touch Dual, and this problem with Barometer is probably a consequense of this and my using "Sweden" in the regional settings. I have noted that it is not unusual that a localized OS creates problems for some sw.
I reported the same problem to Mike Singer regarding his sw WeatherWatcher Mobile. He was able to reproduce the issue and could correct the program to show mb readings correctly.
Hope this can be of help pinpoint the issue and to make your nice piece of sw still better!

digitaldon37
13th January 2009, 01:07 PM
Hi Don!
I have discovered a problem with the reading of Barometer. When I use Farenheit, PF shows correct pressure values, but if I switch to Celsius PF always shows "Barometer: 0 mb (something)".
As you may remember, I run Win mobile 6.1 Nordic version in my HTC Touch Dual, and this problem with Barometer is probably a consequense of this and my using "Sweden" in the regional settings. I have noted that it is not unusual that a localized OS creates problems for some sw.
I reported the same problem to Mike Singer regarding his sw WeatherWatcher Mobile. He was able to reproduce the issue and could correct the program to show mb readings correctly.
Hope this can be of help pinpoint the issue and to make your nice piece of sw still better!

Thanks, I'll add to the bug list and see if I can fix this.

digitaldon37
13th January 2009, 01:11 PM
Thx for your reply Don!
Regarding the language files. I have prepared a Swedish one, but there is a problem with doing this. I guess that the number in the first line of a language file shows the number of following txt lines. In 1.2.2 the number is 58 but when I count the txt lines, I get 59. And this seems to hold true for all the language files that comes with the installation. And one more thing here: the word "Minimize" in the main screen can not be changed - it prevails whatever language file you use. Any connection here or am I just ignorant?

I'll have to take a closer look at the language translation (it was written by another programmer on the project) and get back to you.

Some of the menus may not have been translated since those were being changed throughout the project. I'll add that to the fix list and get corrected in the next release.

klaus_ch
16th January 2009, 09:42 AM
Hi gutte,

The numbering in the language files begins with 0 !
So the lines go from 0 to 58, this gives 59 lines.

Best regards.

gutte
20th January 2009, 07:05 PM
Ok, thx. Then there is somethingelse that shouldbe corrected to bring a complete translation, and it seems that this now is on Dons list for fixes.

digitaldon37
24th January 2009, 05:52 PM
Developer's release .53 has been posted on the first post

History

.53 (1/24/09)
================================================== =============
- add translate for "actions", "save", "minimize" - need to translate for other languages
- add theme variable "themeButtonBorder" to turn off borders - to enable, add this variable to your theme.ini and set the value to "0"


.52 (1/20/09)
================================================== ==============
- add menu support for 240x240 navigation
- add support for 320x320
- fix for old city cache error message


1.2.2 (1/1/09)
================================================== ==============
- recab'd developer version .51

Wolfkmann
25th January 2009, 08:58 PM
For the PC version, is it possible to change from a finger swipe to a double click to switch between locations? I don't know about you, but I have a hard time finger-swiping on my PC. Secondly, how about removing the windows frame around the program?

Something changed in the spacing from D51 to D53. In D53 the text Weather not current (or whatever the exact message is if I haven't yet updated today) is ontop of the text "Last Weather Update" it used to appear above it.

digitaldon37
25th January 2009, 11:23 PM
For the PC version, is it possible to change from a finger swipe to a double click to switch between locations? I don't know about you, but I have a hard time finger-swiping on my PC. Secondly, how about removing the windows frame around the program?

Something changed in the spacing from D51 to D53. In D53 the text Weather not current (or whatever the exact message is if I haven't yet updated today) is ontop of the text "Last Weather Update" it used to appear above it.

Thanks for the info - I didn't adjust the "out of date" error message when I moved the weather info up - I'll fix on the next release.

The only way to remove the windows frame around the program is to enable full screen mode - and it would lose the menu system. As soon as I can implement a finger swipe for some of those options (ie "up" for previous screen, "down" for settings") I will make that an option.

To do a "finger swipe" on the pc, you should be able to 1) point mouse pointer on screen, and press the left button, 2) move pointer while holder the button down, 3) release mouse button.

Mr.Okada
26th January 2009, 02:03 AM
Developer's release .53 has been posted on the first post

History

.53 (1/24/09)
================================================== =============
- add translate for "actions", "save", "minimize" - need to translate for other languages
- add theme variable "themeButtonBorder" to turn off borders - to enable, add this variable to your theme.ini and set the value to "0"


.52 (1/20/09)
================================================== ==============
- add menu support for 240x240 navigation
- add support for 320x320
- fix for old city cache error message


1.2.2 (1/1/09)
================================================== ==============
- recab'd developer version .51

I updated Japanese text file for D.53.
Enjoy! ;)

digitaldon37
27th January 2009, 04:29 PM
Public Release Version 1.2.3 has been uploaded to the main posts. This is the installable CAB version and includes all of the latest development releases.

Note: I moved the project to another laptop and had to rebuild the cab creator list. The cab tested ok on my AT&T Tilt so let me know if there are any cab issues.

Major changes include better support for 240x240, and 320x320 (plus some minor bug fixes)

I still have a few cosmetic changes that I want to implement in this program, such as full finger swiping so that I can eliminate the menu system (and enable full screen)

I've seen some really good weather projects being developed so I might borrow some ideas from them as well.

Thanks to all for the feedback and suggestions. Special thanks to Klaus for helping with large sections of this code.

Mr.Okada
28th January 2009, 02:05 AM
Public Release Version 1.2.3 has been uploaded to the main posts. This is the installable CAB version and includes all of the latest development releases.

Note: I moved the project to another laptop and had to rebuild the cab creator list. The cab tested ok on my AT&T Tilt so let me know if there are any cab issues.

Major changes include better support for 240x240, and 320x320 (plus some minor bug fixes)

I still have a few cosmetic changes that I want to implement in this program, such as full finger swiping so that I can eliminate the menu system (and enable full screen)

I've seen some really good weather projects being developed so I might borrow some ideas from them as well.

Thanks to all for the feedback and suggestions. Special thanks to Klaus for helping with large sections of this code.

Great! I also update Japanese text file for this 1.2.3.:)

OceanSpray
28th January 2009, 10:46 PM
I got error in v0.53 location VEXX0031 is Valencia in Venezuela
http://img98.imageshack.us/img98/4589/pfvalenciavezit2.jpg

ver.0.51 was working fine

another bug is the swipe flow location get stuck*
ex. XXXX location name

WORK OK_____________________GET STUCK
L1 XXXX_____________________L1 XXXX will go down to L9
L2 XXXX_____________________L2 XXXX
L3 XXXX_____________________L3 EMPTY
L4 XXXX_____________________L4 EMPTY
L5 XXXX_____________________L5 XXXX will stuck here wont go up, but will go down
L6 XXXX_____________________L6 XXXX
L7 XXXX_____________________L7 EMPTY
L8 XXXX_____________________L8 XXXX will stuck here sometime, most time will pass up
L9 XXXX_____________________L9 XXXX
L10 XXXX_____________________L10 XXXX

FoolProof swiping flow work from Location L1 to L9 but from L9 to L1 will stuck on empty(s) Location since "klaus_ch" imprement this option.

digitaldon37
29th January 2009, 12:37 AM
I got error in v0.53 location VEXX0031 is Valencia in Venezuela
http://img98.imageshack.us/img98/4589/pfvalenciavezit2.jpg

ver.0.51 was working fine

another bug is the swipe flow location get stuck*
ex. XXXX location name

WORK OK_____________________GET STUCK
L1 XXXX_____________________L1 XXXX will go down to L9
L2 XXXX_____________________L2 XXXX
L3 XXXX_____________________L3 EMPTY
L4 XXXX_____________________L4 EMPTY
L5 XXXX_____________________L5 XXXX will stuck here wont go up, but will go down
L6 XXXX_____________________L6 XXXX
L7 XXXX_____________________L7 EMPTY
L8 XXXX_____________________L8 XXXX will stuck here sometime, most time will pass up
L9 XXXX_____________________L9 XXXX
L10 XXXX_____________________L10 XXXX

FoolProof swiping flow work from Location L1 to L9 but from L9 to L1 will stuck on empty(s) Location since "klaus_ch" imprement this option.

It may be crashing because there are empty values in between some locations. Can you post your ini file so I can test? If this is what is causing it, I'll fix the code so that it skips over empty locations on the swiping.

OceanSpray
29th January 2009, 01:04 AM
here is my weather.ini

digitaldon37
30th January 2009, 12:13 PM
here is my weather.ini

Please try this executable. Klaus sent me an update to the swipe routine.

digitaldon37
30th January 2009, 07:43 PM
Please try this executable. Klaus sent me an update to the swipe routine.

Attached is version .56 - introducing swipe up (go to settings) and swipe down (minimize)

Wolfkmann
31st January 2009, 03:01 AM
I like the new finger swipe options, can't wait to see them in the PC version as well. There were a few formating errors of text, see attached.

-Wolf

klaus_ch
31st January 2009, 09:10 AM
Hi Don,

Concerning the missing texts, unfortunately you didn't join the last language files I posted here:
http://www.basic4ppc.com/forum/open-source-projects/3323-pocket-weather.html

Best regards.

digitaldon37
31st January 2009, 01:08 PM
I like the new finger swipe options, can't wait to see them in the PC version as well. There were a few formating errors of text, see attached.

-Wolf

Swiping should work on the PC - you have to point, hold the left button down, move the mouse, and then release. Please let me know if that works.

I'll take a look at the text that you mentioned. I am going to add a new option for full screen and will be placing a checkbox on that screen anyways.

GSD2000
5th February 2009, 10:41 PM
Hello,

First, thank you to xda to exist, this is a fantastic ressoursses site, and
sorry for my poor english !!! :D

I have a question about the conditions languages, like : mostly clouded, Rain,
etc...

I'm french and i try to find a french RSS yahoo URL for displaying the
conditions data in french (not the rest of the interface who's ok) on my HTC Touch HD, but it's seem to doesn't exist...

Is there a coding solution to convert for exemple :

Mostly clouded : Très nuageux
Rain : Pluie
Fog : Brouillard
etc...

If you answer me in english, can you use single therm and words,

Thank You :)

digitaldon37
5th February 2009, 11:56 PM
Hello,

First, thank you to xda to exist, this is a fantastic ressoursses site, and
sorry for my poor english !!! :D

I have a question about the conditions languages, like : mostly clouded, Rain,
etc...

I'm french and i try to find a french RSS yahoo URL for displaying the
conditions data in french (not the rest of the interface who's ok) on my HTC Touch HD, but it's seem to doesn't exist...

Is there a coding solution to convert for exemple :

Mostly clouded : Très nuageux
Rain : Pluie
Fog : Brouillard
etc...

If you answer me in english, can you use single therm and words,

Thank You :)
Hi. This version only works with the yahoo RSS weather feed - and that is in English only.

I will add your request to use the words in the conditions & details files so they can be translated. But for now the conditions & details files only point to the image to use.

Thanks for trying the program.

GSD2000
6th February 2009, 07:55 AM
Thank you very much to answer me so speedly, and for
your future modifications,

:):)

Wolfkmann
18th February 2009, 12:07 AM
Don,

This project seems to have seriously slowed down. Are you working on some big changes, or some other project? I am using the most current version, and as I posted a while ago, there are some errors with what is displayed in the menus, and I was also wondering what exactly is the target area for the minimize finger swipe down. Sometimes I get it to work, and sometimes not. I love this app, both pc version and ppc version.

digitaldon37
18th February 2009, 02:42 AM
Don,

This project seems to have seriously slowed down. Are you working on some big changes, or some other project? I am using the most current version, and as I posted a while ago, there are some errors with what is displayed in the menus, and I was also wondering what exactly is the target area for the minimize finger swipe down. Sometimes I get it to work, and sometimes not. I love this app, both pc version and ppc version.

I think the display errors are due to the language files not getting packed into the cab properly (I had changed PCs and had to recreate the cab installer). Could you please see what the number is on the 1st line in one of the language files? It should be 66. I'll zip up the language files and put on the project wiki site.

As to development - not much is being done at the moment. I have some code to merge in from Klaus that translates the weather description, as well as some new configuration changes. I am also working on some some integration hooks so that it updates the HTC and SPB Mobile Shell weather panel.

More challenging has been implementing date roll-over and updating the screen properly when the not yet release full-screen option is enabled.

I've also taken on a new project at work - which has cut into my personal programming time. Pocket Forecast isn't a dead project, it's just resting. :)

If the language files doesn't fix your display, please let me know.

Latest public build is 1.2.3, and latest developer's build is .57 - I plan on releasing public build 1.2.4 when I finish up developer .60

Thanks for your use and support!

Wolfkmann
18th February 2009, 06:45 AM
I tried to get the D.57 version but instead ended up with another copy of 1.2.3 but I did get a working copy of the WeatherE.txt that is 66 and that was alot of the issue. Did you know there are a few typos in that file since the earliest version? the months are May and Oct not Mai and Ovt. I keep fixing it, but keep forgetting to let you know. Keep up the great work!

gutte
18th February 2009, 03:37 PM
Hi Don! PF is great, I use it all the time. But there are 2 things I hope you will correct for the upcoming version, one that I allready pointed out to you and one new minor thing:
1. When using Celsius setting, pressure always shows 0 (correct data when set to Farenheit)
2. Date is not shown in the localized format (09-02-18), allways in American (02/18/09)
;)

klaus_ch
19th February 2009, 01:42 PM
Hi Don,

I had a look at the 2 problems related by gutte.

1) I saw that for locations in Sweden Yahoo unfortunately sends a '0' for the pressure in mb when the °C unit is chosen. I don't know if it's the case for all locations in Sweden but at least for some. For locations in other countries the mb value is OK.
So the only solution I see for that is to always get the °F units from Yahoo, and calculate the others inside the program.

2) I suggest you to add a ComboBox in the settings where the user can select it's favorite date format.

Best regards.

gutte
24th February 2009, 09:29 AM
Hi Don,

I had a look at the 2 problems related by gutte.

1) I saw that for locations in Sweden Yahoo unfortunately sends a '0' for the pressure in mb when the °C unit is chosen. I don't know if it's the case for all locations in Sweden but at least for some. For locations in other countries the mb value is OK.
So the only solution I see for that is to always get the °F units from Yahoo, and calculate the others inside the program.

2) I suggest you to add a ComboBox in the settings where the user can select it's favorite date format.

Best regards.


Sorry Klaus, but your conclusion regarding pressure readings is not correct. I have set up PF for a lot of other cities (Bangkok, Okeechobee, Leknes, HongKong) and for all of them PF shows pressure 0 if set to Farenheit. Furthermore, (and as I wrote in this forum earlier) Mike Singer had the same problem with his WetherWatcher mobile. When I told him about this error, he found some way to correct it, and that sw now shows correct pressure for Celcius.
Think this issue has something to do with the different localizations that there are for WM 6.0 and 6.1 I run WM 6.1 Nordic localization in my HTC Touch Dual.

Regards!

klaus_ch
24th February 2009, 07:10 PM
Sorry but my conclusion is, unfortunately, a fact !

I looked in the program, I have the source code, at the messages sent by Yahoo. And in the message, for the locations in your country I tested, there is a concrete value for the pressure with °F selection, but the value sent for °C selection is '0' ZERO.

Try to select following location: Europe - Switzerland - Sion, you will see that there is a millibar value, different than 0.

Attached a screenshot.

Best regards.

digitaldon37
24th February 2009, 07:56 PM
Sorry Klaus, but your conclusion regarding pressure readings is not correct. I have set up PF for a lot of other cities (Bangkok, Okeechobee, Leknes, HongKong) and for all of them PF shows pressure 0 if set to Farenheit. Furthermore, (and as I wrote in this forum earlier) Mike Singer had the same problem with his WetherWatcher mobile. When I told him about this error, he found some way to correct it, and that sw now shows correct pressure for Celcius.
Think this issue has something to do with the different localizations that there are for WM 6.0 and 6.1 I run WM 6.1 Nordic localization in my HTC Touch Dual.

Regards!
Hi Gutte,
Could you do a weather refresh for your location and post the xml file to this forum?

I have a separate question to all: PF currently supports AppToDate to check if there are any updates. Would a setting to have PF check for itself for any updates be something that would be useful?

Wolfkmann
26th February 2009, 04:07 AM
I am not familiar with ApptoDate, and don't believe I ame even using this feature. If I want to know about a new version, I check this thread, and look for a new version to download in post #1

digitaldon37
26th February 2009, 05:47 AM
I am not familiar with ApptoDate, and don't believe I ame even using this feature. If I want to know about a new version, I check this thread, and look for a new version to download in post #1

I will probably add a self-check and set it to off by default.

I've merged Klaus's translated weather conditions, and fixed a few bugs and added some features (like an option to specify date format, ie "mm/dd/yy" or "yy-mm-dd") and am currently working on a fix for the issue that gutte has with the 0 millibars.

I hope to have a new version out next week.

gutte
4th March 2009, 03:35 PM
Sorry but my conclusion is, unfortunately, a fact !

I looked in the program, I have the source code, at the messages sent by Yahoo. And in the message, for the locations in your country I tested, there is a concrete value for the pressure with °F selection, but the value sent for °C selection is '0' ZERO.

Try to select following location: Europe - Switzerland - Sion, you will see that there is a millibar value, different than 0.

Attached a screenshot.

Best regards.

Ok Klaus, you managed to find one city for which PF shows correct when set to Celsius. But try Bern or Geneva or Paris or HongKong or Bangkok.....!!!
And no, Yahoo sends correct values, else WheaterWatcher could not display them!

digitaldon37
5th March 2009, 03:16 AM
Ok Klaus, you managed to find one city for which PF shows correct when set to Celsius. But try Bern or Geneva or Paris or HongKong or Bangkok.....!!!
And no, Yahoo sends correct values, else WheaterWatcher could not display them!

One way to check to see what Yahoo is sending is to look up the code with this url: http://weather.yahoo.com/

And then use that code in this url: http://weather.yahooapis.com/forecastrss?p=CODE&d&u=f

(replace CODE with the code)

and then view the source of the page. The source should be the same as what is stored in the cache xml.

klaus_ch
8th March 2009, 02:45 PM
To clarify what I am speeking about:
Below you find the Yahoo RSS answers on different requests as they are received by the program:

With the request for Paris in Fahrenheit:
http://weather.yahooapis.com/forecastrss?p=FRXX0076&d&u=f
we get the answer Paris_F.jpg below where we see the pressure value of 29.8 which is the concrete value

With the request for Paris in Celcius:
http://weather.yahooapis.com/forecastrss?p=FRXX0076&d&u=c
we get the answer Paris_C.jpg below where we see the pressure value of 0 which is the wrong value.

With the request for Sion in Celcius:
http://weather.yahooapis.com/forecastrss?p=SZXX0035&d&u=c
we get the answer Sion_C.jpg below where we see the pressure value of 1016 which is the concrete value.

You can look at these answers by clicking onto the links above and in Internet Explorer under Display display the Source and you get the message content.

That's why my suggestion still is to request, in the program always in Fahrenheit and calculate the metric values in the program.
I don't know why Yahoo sends '0' values for many locations.

I hope that it has become more clear.

Best regards.

gutte
12th March 2009, 10:16 AM
To clarify what I am speeking about:
Below you find the Yahoo RSS answers on different requests as they are received by the program:

With the request for Paris in Fahrenheit:
http://weather.yahooapis.com/forecastrss?p=FRXX0076&d&u=f
we get the answer Paris_F.jpg below where we see the pressure value of 29.8 which is the concrete value

With the request for Paris in Celcius:
http://weather.yahooapis.com/forecastrss?p=FRXX0076&d&u=c
we get the answer Paris_C.jpg below where we see the pressure value of 0 which is the wrong value.

With the request for Sion in Celcius:
http://weather.yahooapis.com/forecastrss?p=SZXX0035&d&u=c
we get the answer Sion_C.jpg below where we see the pressure value of 1016 which is the concrete value.

You can look at these answers by clicking onto the links above and in Internet Explorer under Display display the Source and you get the message content.

That's why my suggestion still is to request, in the program always in Fahrenheit and calculate the metric values in the program.
I don't know why Yahoo sends '0' values for many locations.

I hope that it has become more clear.

Best regards.

Ok, Klaus. So Yahoo is sending 0 for most places then when the request is for Celsius.
I suggest that Don contacts Mike Singer who had the same problem with his sw WetherWatcher mobile. When I told him about this error, he found some way to correct it, and that sw now shows correct pressure for Celcius.
And btw, I do get the same readings as you do when I the RSS links you provided.
Is it possible to request wind speed in meter per second?
Regards,
Jan

klaus_ch
12th March 2009, 01:14 PM
Hi gutte,

Yahoo doesn't supply a request for the wind speed in m/s.
But there would be no problem to have it as an option in the configuration.

I will look with Don.

Best regards.

digitaldon37
14th March 2009, 07:27 PM
I have uploaded a new version on the main post.

.58 - .61
================================================== =============
'.58 - added some translations for conditions - klaus
'.59 - implement ini.dtFmt to allow formatting of date
'.60 - modifyed metric units display - klaus
'.61 - fixed loadthemeini to first call setDefaulttheme (override values should be specified in theme.ini), tweak 'mm/yy/dd'

The two minor changes are the metric conversions (to overcome the Yahoo data issue) and the ability to specify a date format.

Wolfkmann
16th March 2009, 04:45 AM
Don,

Testing the new version. I can't figure out how to modify the date format. Please advise.

digitaldon37
16th March 2009, 02:23 PM
Don,

Testing the new version. I can't figure out how to modify the date format. Please advise.

You have to manually edit the weather.ini file (sorry - this will be included in a new/improved settings editor in a future release)

The default setting is this:

DateFormat=mm/dd/yy


You can format the date however you like, most anything works.
mm/dd/yyyy
yyyy-mm-dd
yy-dd-mm

The program does a string substitution for "mm", "dd", and "yy" (for yyyy it adds the century)

Wolfkmann
17th March 2009, 12:37 AM
I knew about that part in the .ini file, I guess it only controls what I have boxed? I thought we would be able to adjust what I have circled as well. I am used to month first, then date.

digitaldon37
17th March 2009, 04:01 AM
I knew about that part in the .ini file, I guess it only controls what I have boxed? I thought we would be able to adjust what I have circled as well. I am used to month first, then date.

I uploaded a zip of the current developers version (.62)
- date format consistent on all pages
- made main page weather buttons transparent (if image border set to 0) otherwise they are not transparent. Just another theming tweak.

Wolfkmann
17th March 2009, 07:08 PM
Thanks Don.
Downloaded it, haven't had the chance to play with it yet. When editing the ini file if I code it as mmm/dd/yy will it display as Mar/17/09? Just wondering.

Thanks again for the great program

digitaldon37
17th March 2009, 09:46 PM
Thanks Don.
Downloaded it, haven't had the chance to play with it yet. When editing the ini file if I code it as mmm/dd/yy will it display as Mar/17/09? Just wondering.

Thanks again for the great program

No, but that is a good suggestion for the next release.

Wolfkmann
18th March 2009, 02:44 AM
Don, Help!

I installed the new version, and this white area appeared behind my buttons. I tried adjusting my theme.ini, but I guess I couldn't find the right setting. I attached my theme.ini, just had to change the extension to .txt so I could upload it.

digitaldon37
18th March 2009, 03:27 AM
Don, Help!

I installed the new version, and this white area appeared behind my buttons. I tried adjusting my theme.ini, but I guess I couldn't find the right setting. I attached my theme.ini, just had to change the extension to .txt so I could upload it.

Sorry about that, the last code added transparency to the close/save/back buttons. I have uploaded version .63 in the zip file (main post) that fixes this.

The setting "themeButtonBorder" now only turns borders off/on for the weather buttons, not the command buttons.

gutte
18th March 2009, 12:47 PM
Hi Don!
What has happened? Since sunday 15 I get no weather updates in PF. Have tried WeatherWatcher, same thing there no updates avialable! Something wrong at Yahoo or...?

digitaldon37
18th March 2009, 03:28 PM
Hi Don!
What has happened? Since sunday 15 I get no weather updates in PF. Have tried WeatherWatcher, same thing there no updates avialable! Something wrong at Yahoo or...?

Hi Gutte,

It is working for me in the US. Are you able to access the Yahoo site from your web browser?

gutte
19th March 2009, 01:25 PM
Hi Gutte,

It is working for me in the US. Are you able to access the Yahoo site from your web browser?

No problem getting weather from the Yahoo site or Yahoo RSS (via my phone - HTC Touch Dual running WM 6.1 Nordic.
And the default HTC home screen weather data is updated correctly.

gutte
19th March 2009, 01:29 PM
Thx for adding m/s for wind speed! However, in the latest version (62) i find that C and F settings have been reversed - when C is selected I get F temperature readings and vice versa!

digitaldon37
19th March 2009, 03:01 PM
Thx for adding m/s for wind speed! However, in the latest version (62) i find that C and F settings have been reversed - when C is selected I get F temperature readings and vice versa!

Hi Gutte, can you send me a screen shot of what you are seeing? I didn't write that piece of code so it would help me.

digitaldon37
19th March 2009, 03:07 PM
No problem getting weather from the Yahoo site or Yahoo RSS (via my phone - HTC Touch Dual running WM 6.1 Nordic.
And the default HTC home screen weather data is updated correctly.

This has got me stumped. I'm not sure where HTC pulls their weather update from (it's not Yahoo) but since you can get weather info from Yahoo - I'm not sure why it doesn't work.

I've been testing PointUI and there is a nice weather app for it that has the source code to look at (PointUI applets are written in a C# like scripting language) It uses Accuweather feeds - I might add an option to use either Yahoo or Accuweather in PF.

noque
19th March 2009, 07:26 PM
I was wondering if it is possible to have it automatically getting the forecast update at a specific time of the day? e.g., update weather every day at 7am so that I can immediately see what can I expect for the day - by just looking at S2U2.

Thanks.

digitaldon37
19th March 2009, 08:25 PM
I was wondering if it is possible to have it automatically getting the forecast update at a specific time of the day? e.g., update weather every day at 7am so that I can immediately see what can I expect for the day - by just looking at S2U2.

Thanks.

No, but I will add that to the feature request list.

A work-around is to start the program at the time you want it updated, and set the refresh update setting to 1440. You should also do at at the top of the hour, since it seems Yahoo updates their feed every hour around 7 minutes before the hour.

noque
19th March 2009, 10:46 PM
No, but I will add that to the feature request list.

A work-around is to start the program at the time you want it updated, and set the refresh update setting to 1440. You should also do at at the top of the hour, since it seems Yahoo updates their feed every hour around 7 minutes before the hour.

Thanks.
I will try the workaround and let you know the outcome.

gutte
20th March 2009, 02:35 PM
This has got me stumped. I'm not sure where HTC pulls their weather update from (it's not Yahoo) but since you can get weather info from Yahoo - I'm not sure why it doesn't work.

I've been testing PointUI and there is a nice weather app for it that has the source code to look at (PointUI applets are written in a C# like scripting language) It uses Accuweather feeds - I might add an option to use either Yahoo or Accuweather in PF.

Can it be that Yahoo changed/restricted the way to pull Weather data from within a sw, i.e. PF?

digitaldon37
20th March 2009, 03:10 PM
Can it be that Yahoo changed/restricted the way to pull Weather data from within a sw, i.e. PF?

Yahoo would not be able to tell whether the request was coming from an application or a web browser on the phone, since the application uses the same methods that the web browser does.

Could you post your weather.ini (upload as .txt) and I'll try it out on my phone?

gutte
20th March 2009, 05:12 PM
This has got me stumped. I'm not sure where HTC pulls their weather update from (it's not Yahoo) but since you can get weather info from Yahoo - I'm not sure why it doesn't work.

I've been testing PointUI and there is a nice weather app for it that has the source code to look at (PointUI applets are written in a C# like scripting language) It uses Accuweather feeds - I might add an option to use either Yahoo or Accuweather in PF.

My issue with PF saying "update not avialable" has been solved! When checking my HTC for free memory, I just by chance observed that the root folder "\ComMgr" was missing. I found a backup of the folder and found that it held 2 hidden files - CMMapG & CMMapP. Performed a restore of this folder and voila - PF was able to update again!
It is a mystery to me how this folder came to disappear and I don't know what the files do. Maybe someone can shed some light over this?
But I am happy with the new version and that I can get wind speed in m/s
Regards

zoki
20th March 2009, 08:52 PM
Don, thank you for this great application. Is it posible to make it integrated in WM 6.5 titanium today screen?

yearn
20th March 2009, 09:14 PM
Hey man, great App!
Im havin a little trouble with it. I put the manilla theme in the themes folder and I cant select it under settings but it always changes back even after selecting save.
Also I cant get more than one location at a time.
I have an Alltel Touch (Vogue) CDMA. QVGA screen.
am I doing something wrong??

digitaldon37
21st March 2009, 03:24 AM
Don, thank you for this great application. Is it posible to make it integrated in WM 6.5 titanium today screen?

I don't think so - the programming language I used doesn't support today plug-ins.

Thanks for the feedback.

digitaldon37
21st March 2009, 03:29 AM
Hey man, great App!
Im havin a little trouble with it. I put the manilla theme in the themes folder and I cant select it under settings but it always changes back even after selecting save.
Also I cant get more than one location at a time.
I have an Alltel Touch (Vogue) CDMA. QVGA screen.
am I doing something wrong??

PF should display manilla in the drop-down list and reload that theme when you click the save button.

You should be able to add up to 10 locations and change between them either by using the finger side swipe or by checking the radio button beside the location you want to change to.

If you can't get it working, there is an option in settings to turn on logging. I'd be happy to look through the log file if you want to upload it.

yearn
21st March 2009, 05:17 PM
PF should display manilla in the drop-down list and reload that theme when you click the save button.

You should be able to add up to 10 locations and change between them either by using the finger side swipe or by checking the radio button beside the location you want to change to.

If you can't get it working, there is an option in settings to turn on logging. I'd be happy to look through the log file if you want to upload it.

I turned on the logging option, it still wont change locations, if I choose one it changes to that. I can click manilla in the dropdown box then click save but then it just goes back to the white background. I was gonna try to manually change the background, where is that image located at?
Thanks for the quick reply!

digitaldon37
21st March 2009, 06:44 PM
I turned on the logging option, it still wont change locations, if I choose one it changes to that. I can click manilla in the dropdown box then click save but then it just goes back to the white background. I was gonna try to manually change the background, where is that image located at?
Thanks for the quick reply!

The background image for a theme is in the theme\"theme name"\background directory, and must be named the same as the "theme name"

In my manilla set up, the background image is "ManillaP.jpg"

You may also want to verify the settings in your theme.ini file:


;MANILLA
themeFormColor=0,0,0
themeFontColor=250,255,255
themeBorderColor=250,255,255
themeButtonBorder=0

gutte
2nd April 2009, 07:26 PM
My installation of PF does note update weather data when I switch to another location. It gets old data from memory instead. Should it really be this way?

Another small thing is that it is possible to change to 24 h display everywhere else, but not in the report on time for latest uppdate (eg. 9:20 am CET). Can this be changed? The time display for renewed check is however displayed in 24 h.

digitaldon37
2nd April 2009, 11:01 PM
My installation of PF does note update weather data when I switch to another location. It gets old data from memory instead. Should it really be this way?

Another small thing is that it is possible to change to 24 h display everywhere else, but not in the report on time for latest uppdate (eg. 9:20 am CET). Can this be changed? The time display for renewed check is however displayed in 24 h.

PF only updates the location currently in focus at the time interval specified in settings.

A potential problem of updating whenever location is selected is that the user may not want to update a location if they are going from the 1st location to the 7th location. That might force 5 unwanted updates.

A possible programming solution may be to add a setting to ask whether all locations should be updated at once.

I think the time string is being sent by Yahoo - I'll check on that and see if I can add a customization option for 12 or 24 clock.

garsim
15th April 2009, 01:53 PM
hi digitaldon..
i've a request for you ;)
can i use your app with titanium in wm6.5?!
with titanium, it's possible to use weather with mortcript, but i prefer your app.
see this (http://forum.xda-developers.com/showthread.php?t=502538)

thank you :)

Fresa
24th April 2009, 10:30 AM
I would like this to be available as a "service", hidden application that is.
Would also like to have the option to add it to the Windows Mobile today screen.

Btw, my application does not refresh every 5 minutes when the application is minimized, despite that I have configured it to do so in the settings tab. Why? It works when the application is "maximized".

digitaldon37
26th April 2009, 07:20 PM
I would like this to be available as a "service", hidden application that is.
Would also like to have the option to add it to the Windows Mobile today screen.

Btw, my application does not refresh every 5 minutes when the application is minimized, despite that I have configured it to do so in the settings tab. Why? It works when the application is "maximized".

Hi. The data file should be updating when the program is minimized, though it doesn't look like it when you bring it back into focus. That is because the screen isn't updated when minimized and I don't know how to make the program recognize when it is being brought back into focus (this would have to be something the OS provides)

I have logged some of the earlier suggestions and intend to build a new version after I take the PMP certification (prepping for that is taking a lot of my spare time)

gutte
4th May 2009, 07:38 AM
Since beginning of May PF does not show update information - time for last update etc. Has Yahoo changed something again or...?:confused:
Tried to re-install but no luck.

digitaldon37
4th May 2009, 10:58 PM
Since beginning of May PF does not show update information - time for last update etc. Has Yahoo changed something again or...?:confused:
Tried to re-install but no luck.

I don't see anything different in the data that Yahoo returns, but the program is changing "May" to "Mai" (and I can't figure out why) so I coded around that for now.

Version 1.2.4 - developer's release D64 is attached

klaus_ch
5th May 2009, 06:13 PM
Hi digitaldon,

Concerning Mai instead of May, I am afraid the error is in the language text file WeatherE.txt.
In the line
JanFebMarAprMaiJunJulAugSepOvtNovDec
you should replace by
JanFebMarAprMayJunJulAugSepOvtNovDec

I have no problems getting the data.

Best regards.

gutte
8th May 2009, 10:05 PM
I don't see anything different in the data that Yahoo returns, but the program is changing "May" to "Mai" (and I can't figure out why) so I coded around that for now.

Version 1.2.4 - developer's release D64 is attached

Have not tried D64, but I have removed my D61 and re-installed, but same result: no info at all in the screen lower left part of update etc - just blank

EDIT: Copied D64 to my unit, and voila - update info is visible again! THX!

joeyk
10th May 2009, 08:21 PM
Hi,
I would like to translate the software into Hungarian.
It is one of my favourite ppc application, and I would like to help.
Thank you for your answer in advance.

GreenOmnia
10th May 2009, 08:54 PM
Seems to be a great app - I'll try it ;)
..though I guess, it downloads packages to update the weather - I would really appreciate if you could tell me how often it downloads them and how big they are. Because I don't want my phone-bill to be too big :D

digitaldon37
11th May 2009, 02:29 PM
Have not tried D64, but I have removed my D61 and re-installed, but same result: no info at all in the screen lower left part of update etc - just blank

EDIT: Copied D64 to my unit, and voila - update info is visible again! THX!

Great! I also got a note from one of the other developers who said the problem is in the WeatherE.txt file - I will correct in the next version.

digitaldon37
11th May 2009, 02:31 PM
Hi,
I would like to translate the software into Hungarian.
It is one of my favourite ppc application, and I would like to help.
Thank you for your answer in advance.

If you translate it please name the file WeatherO.txt and I'll add it as an option in the next release. I have thought about adding a "Other" option in the language file and let users supply their own language file (though indirectly they could do this by using one of the other text files)

Thanks for using this app.

digitaldon37
11th May 2009, 02:34 PM
Seems to be a great app - I'll try it ;)
..though I guess, it downloads packages to update the weather - I would really appreciate if you could tell me how often it downloads them and how big they are. Because I don't want my phone-bill to be too big :D

Hi. You can change how often it downloads in the configuration. If you set the refresh rate 0 it will never refresh (unless you click on the top left icon on the main page) - otherwise it will refresh automatically at the interval you set (which is in minutes)

The program only downloads the current selected location (you can store up to 10) and it is a small XML text file that is downloaded

GreenOmnia
11th May 2009, 02:44 PM
Hi. You can change how often it downloads in the configuration. If you set the refresh rate 0 it will never refresh (unless you click on the top left icon on the main page) - otherwise it will refresh automatically at the interval you set (which is in minutes)

The program only downloads the current selected location (you can store up to 10) and it is a small XML text file that is downloaded

Ok, thanks. But how small is the XML text file? Because I've got only 100MB of data transfer for free.

digitaldon37
12th May 2009, 03:57 AM
Ok, thanks. But how small is the XML text file? Because I've got only 100MB of data transfer for free.

About 2.7kb


Also, Yahoo only updates the RSS once every hour, so it doesn't hurt to set the refresh rate to 60 minutes. Since the weather doesn't change much, you probably would be ok with setting it to every 4 hours (240 minutes)

Or you can set it to 0 minutes and then do a manual refresh

gutte
13th May 2009, 01:54 PM
Hi. You can change how often it downloads in the configuration. If you set the refresh rate 0 it will never refresh (unless you click on the top left icon on the main page) - otherwise it will refresh automatically at the interval you set (which is in minutes)

The program only downloads the current selected location (you can store up to 10) and it is a small XML text file that is downloaded

But Don, can you explain to me why PF on my Touch Dual does not update weather data on my default location when the program is started. It just fetches old data from the cache. I have a support sw that automatically starts PF each morning, it does not update to the latest info.

GreenOmnia
13th May 2009, 04:58 PM
About 2.7kb


Also, Yahoo only updates the RSS once every hour, so it doesn't hurt to set the refresh rate to 60 minutes. Since the weather doesn't change much, you probably would be ok with setting it to every 4 hours (240 minutes)

Or you can set it to 0 minutes and then do a manual refresh

Ok, thanks :)

digitaldon37
13th May 2009, 06:17 PM
But Don, can you explain to me why PF on my Touch Dual does not update weather data on my default location when the program is started. It just fetches old data from the cache. I have a support sw that automatically starts PF each morning, it does not update to the latest info.

The program is supposed to be checking the cache file and getting a refresh if it is older than what your refresh setting is - but I see that it is not doing that.

Here is what it is supposed to be doing:

1. load the refresh setting
2. if the refresh is greater than 0,
2a. if the cache is less than the refresh setting, load the cache
2b. else get a refresh
3. else if the refresh is set to 0, load the cache

If the setting is greater than zero, it will grab a new refresh after those minutes though. It's just not doing #2b - I'll look into this and put in a fix.

GreenOmnia
13th May 2009, 06:33 PM
Hi!
I've been trying to integrate Pocket Forecast with S2U2, but it just doesn't work. I've set in the S2U2 settings to integrate with 'Pocket Weather' and in the Pocket Forecast settings to integrate with S2U2 and set the S2U2 forecast option ON. So what is going wrong?
Thanks.

digitaldon37
13th May 2009, 10:51 PM
Hi!
I've been trying to integrate Pocket Forecast with S2U2, but it just doesn't work. I've set in the S2U2 settings to integrate with 'Pocket Weather' and in the Pocket Forecast settings to integrate with S2U2 and set the S2U2 forecast option ON. So what is going wrong?
Thanks.

Hi. You should select the S2U2 "custom weather" - I believe it is option 5. Pocket Forecast writes to the registry where S2U2 reads for custom weather.

The option you have been trying is for SPB's Pocket Weather

GreenOmnia
13th May 2009, 11:18 PM
Hi. You should select the S2U2 "custom weather" - I believe it is option 5. Pocket Forecast writes to the registry where S2U2 reads for custom weather.

The option you have been trying is for SPB's Pocket Weather

Oh, now it works :D
Great app ;)

gutte
14th May 2009, 05:58 PM
The program is supposed to be checking the cache file and getting a refresh if it is older than what your refresh setting is - but I see that it is not doing that.

Here is what it is supposed to be doing:

1. load the refresh setting
2. if the refresh is greater than 0,
2a. if the cache is less than the refresh setting, load the cache
2b. else get a refresh
3. else if the refresh is set to 0, load the cache

If the setting is greater than zero, it will grab a new refresh after those minutes though. It's just not doing #2b - I'll look into this and put in a fix.

Thx Don, I look forward to an update.

gutte
28th May 2009, 07:35 AM
Thx Don, I look forward to an update.

Waiting for that fix. Is it in the pipeline?

digitaldon37
30th May 2009, 04:26 PM
Waiting for that fix. Is it in the pipeline?
Hi. Sorry I haven't responded earlier - I haven't had much time for coding between the job search and studying for my PMP.

I have added a new INI setting to force a refresh when the program starts up. Going back through some of my old notes, it seems some wanted it to refresh and others didn't. I think this new setting will allow everyone to choose if they want it to or not.

It seems to be working ok - I need to add this to the configuration editor and clean up a couple of things there and then will upload it.

digitaldon37
1st June 2009, 05:19 PM
Hi. Sorry I haven't responded earlier - I haven't had much time for coding between the job search and studying for my PMP.

I have added a new INI setting to force a refresh when the program starts up. Going back through some of my old notes, it seems some wanted it to refresh and others didn't. I think this new setting will allow everyone to choose if they want it to or not.

It seems to be working ok - I need to add this to the configuration editor and clean up a couple of things there and then will upload it.

Attached is developer's version D.66

1. Misc cosmetic tweaks (image "stretching" for VGA)
2. Fix settings screen (i.e. locations)
3. Added setting to force weather download on start-up
4. Added setting to check for new version on start-up (currently only displays a message if there is a new version available)

UPDATE: Version D.67 is uploaded. This is the first version that you can install the program with just the executable. If any directories are missing (as would happen on a new install) the program goes out to the internet and downloads/installs the cab.

Note that for testing, if you choose OK to download from the internet, it will actually download R1.2.4 (D.61) since that is what is cabbed at the moment. But you can copy the exe back on top of the installed exe and be on the latest.

gutte
2nd June 2009, 09:44 AM
Thx for the new version, I will try it directly

digitaldon37
4th June 2009, 07:54 PM
I've updated "Pocket Forecast" to version 1.2.5 and posted installer and source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_forecast


See main post for screen shots.

Some of the features added:

1. Bug fixes
2. Update from the web

rojaa
6th June 2009, 11:11 AM
Hi, it's a very nice app.

I tried 2 previous versions.

But anytime I changed pages within the program, switching cities, going to extended forecast and back in the same city, etc., the program would automatically download a "new forecast" even if I had the refresh rate set to "0"

Has this been corrected? I'd really like to use pocket forecast, but if it's constantly updating the forecast it's too wasteful of time, battery, and network charges.

Hope, it'll work this time

digitaldon37
6th June 2009, 02:30 PM
Hi, it's a very nice app.

I tried 2 previous versions.

But anytime I changed pages within the program, switching cities, going to extended forecast and back in the same city, etc., the program would automatically download a "new forecast" even if I had the refresh rate set to "0"

Has this been corrected? I'd really like to use pocket forecast, but if it's constantly updating the forecast it's too wasteful of time, battery, and network charges.

Hope, it'll work this time

By default, the program will retrieve the latest forecast when you switch locations. If the phone is switched to 'airplane mode' or if it can't get a connection, it will load the last feed for that location.

The initial reason I did this is because the file it downloads is small and I wanted to always have the latest information.

I am not sure why I didn't build it the way you suggested, because it sounds like a better way. I can add code to compare the refresh rate against the age of the last location download, and only download if the file is older.

(maybe I fixed this and don't remember though - please test and let me know)

rojaa
7th June 2009, 02:28 AM
Tried it. Some improvements noted. Great job.

As regards to unwanted data refresh--
in some countries, (I am in Indonesia) technology is not so up to date. Connections are sometimes intermittent, often slow.
So, an unnecessary update by 3G or Edge can take 5 minutes on occasion, tying up the phone line, and racking up a bill. Rates here are among the highest in the easter world.

SO, if possible, a setting to disable all automatic updating would be appreciated. I would like to continue using it. I enjoy the S2u2 compatibility.

The main thing is, you've done a great job. sorry, if I have to be so picky. But mine is a suggestion, not a complaint

rojaa
7th June 2009, 05:40 AM
at any rate, here is a simple black/white theme for your app

digitaldon37
7th June 2009, 07:06 PM
Tried it. Some improvements noted. Great job.

As regards to unwanted data refresh--
in some countries, (I am in Indonesia) technology is not so up to date. Connections are sometimes intermittent, often slow.
So, an unnecessary update by 3G or Edge can take 5 minutes on occasion, tying up the phone line, and racking up a bill. Rates here are among the highest in the easter world.

SO, if possible, a setting to disable all automatic updating would be appreciated. I would like to continue using it. I enjoy the S2u2 compatibility.

The main thing is, you've done a great job. sorry, if I have to be so picky. But mine is a suggestion, not a complaint

I appreciate the feedback and suggestions; I've tried to take everyone's comments and build into the program. I've added yours to my list for changes to make.

By the way - the new version checks for updates every time you start it up. You might want to disable that feature and check this thread for updates.

rojaa
8th June 2009, 01:57 AM
i will keep checking back!. I'd really like to make this my permanent, regualar weather app. It's functional, trim, and unbloated.

Thanks

Modulus
15th June 2009, 07:01 PM
I appreciate the feedback and suggestions; I've tried to take everyone's comments and build into the program. I've added yours to my list for changes to make.

Hey man,

Great app.. it seems clean and to the point, I like it, especially the integration with S2U2.

I haven't read all ~36 pages of comments, but I was wondering if your list of suggestions is public anywhere? I'd like to see tabs for current, hourly, daily, and radar maps.. Is there some way to view the % chance of precipitation? I mainly have a weather app on my phone so I know what the chances are that it will rain throughout the current day ;)

What's this icon in the bottom supposed to do/show?

Thanks and good job!

digitaldon37
16th June 2009, 09:25 PM
Hey man,

Great app.. it seems clean and to the point, I like it, especially the integration with S2U2.

I haven't read all ~36 pages of comments, but I was wondering if your list of suggestions is public anywhere? I'd like to see tabs for current, hourly, daily, and radar maps.. Is there some way to view the % chance of precipitation? I mainly have a weather app on my phone so I know what the chances are that it will rain throughout the current day ;)

What's this icon in the bottom supposed to do/show?

Thanks and good job!

I couldn't find a RSS feed for hourly updates from Yahoo, but I do have one for accuweather which may work. If so I'll add to the feature request list.

Radar map was something asked for early on but didn't have much interest.

I did have a history readme - but it was getting to be as long as the comments thread. I may put together a feature list (implemented & suggested) & put on the wiki.

I'm not sure what icon you are referring to?

Thanks for the feedback!

dahauss
27th June 2009, 05:30 PM
I installed the progam on my 800W and installed some themes.. I was able to change it once to the diamond theme but now I try to change themes and it doesnt. I select the theme but nothing happens.. how do I resolve?

adillon63
9th July 2009, 03:33 PM
Good Morning,
The auto update feature doesn't seem to be working with S2U2 anymore. I have it set to 60 minutes and run the program minimized but the display for S2U2 never updates unless I manually run and update on packet forecast. Any ideas would be great. Also where can I find the pc version of your program? All in all I enjoy your program and hope you keep it active. Thank you

AT&T Tilt
Stock ROM WM 6.1
S2U2 2.03
Poorlyduck Vista Cube

cuongdv
22nd August 2009, 06:36 PM
I've updated "Pocket Forecast" to version 1.2.5 and posted installer and source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_forecast


See main post for screen shots.

Some of the features added:

1. Bug fixes
2. Update from the web

I got PF 1.25 installed in my Omnia i900 and
this error occurred when I changed my location id:
An error occurred on sub __main_fixyahoodate

IndexOutOfRangeException. Continue?

My location id is : http://weather.yahooapis.com/forecastrss?p=VMXX0006&u=c

I've tried again and it display properly now. Seems not stable.

B.R

Wolfkmann
27th September 2009, 02:46 PM
Don,

You haven't been here since June, and I don't know if this project is dead, but just in case IT is alive and well, and you see this I have a minor tweak to request.

When the program writes to the registry (Levenum) is it possible to have it also write the code for the icon, as well as the temp and condition text?

Thanks
-Wolf

mobiljoe
18th November 2009, 07:47 PM
Good Morning,
The auto update feature doesn't seem to be working with S2U2 anymore. I have it set to 60 minutes and run the program minimized but the display for S2U2 never updates unless I manually run and update on packet forecast. Any ideas would be great. Also where can I find the pc version of your program? All in all I enjoy your program and hope you keep it active. Thank you

AT&T Tilt
Stock ROM WM 6.1
S2U2 2.03
Poorlyduck Vista Cube

I wrote a little script (Mortscript (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29)) that update the weather every 2 hours.

# start and update pocketforecast

RunAt( ( TimeStamp() + 7200 ), "\My Documents\Update PF.mscr" )
Run "\Programme\Pocket Forecast\Pocket Forecast.exe"
Sleep 20000
mouseclick 100,100
sleep 50000
Kill "\Programme\Pocket Forecast\Pocket Forecast.exe"

For me it works.

Eten DX900 (VGA)
WM 6.1
S2U2 2.10

digitaldon37
18th November 2009, 09:24 PM
I wrote a little script (Mortscript (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29)) that update the weather every 2 hours.

# start and update pocketforecast

RunAt( ( TimeStamp() + 7200 ), "\My Documents\Update PF.mscr" )
Run "\Programme\Pocket Forecast\Pocket Forecast.exe"
Sleep 20000
mouseclick 100,100
sleep 50000
Kill "\Programme\Pocket Forecast\Pocket Forecast.exe"

For me it works.

Eten DX900 (VGA)
WM 6.1
S2U2 2.10

First, to everyone who is still using this program and has an interest in it, thank you.

Second, a lot of happened since the last release (job change, move across the country) but probably the thing that impacts this program the most is that I upgraded the program (Basic4PPC) that compiles this, and haven't spent much time working with it. Updating PF might be a good way for me to test the new compiler out.

Below is a summary of posts since 1.2.5 released:

Latest release: 1.2.5 6/4/09

6/6/09 - rojaa

bug: But anytime I changed pages within the program, switching cities, going to extended forecast and back in the same city, etc., the program would automatically download a "new forecast" even if I had the refresh rate set to "0
update: I will have to test this out.

6/15/09 - modulus

request: I'd like to see tabs for current, hourly, daily, and radar maps.. Is there some way to view the % chance of precipitation? I mainly have a weather app on my phone so I know what the chances are that it will rain throughout the current day
update: I had looked into this at one time but could not find the appropriate Yahoo feeds to support it. I may add the accuweather feed in the future so this could be added then

6/27/09 - dahauss
* bug: I installed the progam on my 800W and installed some themes.. I was able to change it once to the diamond theme but now I try to change themes and it doesnt. I select the theme but nothing happens.. how do I resolve?
update: I will have to test this out.

7/9/09 - adillon63
* bug: The auto update feature doesn't seem to be working with S2U2 anymore. I have it set to 60 minutes and run the program minimized but the display for S2U2 never updates unless I manually run and update on packet forecast. Any ideas would be great.
update: I will have to test this out.
* request: Also where can I find the pc version of your program?
update: if there is not a PC version on the wiki site, I will add that.


8/22/09 - cuongdv
* bug: An error occurred on sub __main_fixyahoodate. IndexOutOfRangeException. Continue? My location id is : http://weather.yahooapis.com/forecastrss?p=VMXX0006&u=c
update: I will have to test this


9/27/09 - wolfkmann

* request: When the program writes to the registry (Levenum) is it possible to have it also write the code for the icon, as well as the temp and condition text?
update: I can add this.






I'll try to get an update out over the Thanksgiving holidays.

mobiljoe
21st December 2009, 09:51 AM
Hi All,

I added my script a little. S2U2 shows changes only after a re-read the registry. :)

# start and update pocketforecast

RunAt( ( TimeStamp() + 7200 ), "\My Documents\Update PF.mscr" )
Run "\Programme\Pocket Forecast\Pocket Forecast.exe"
Sleep 20000
mouseclick 100,100
sleep 40000
Kill "\Programme\Pocket Forecast\Pocket Forecast.exe"

# update S2U2
Run "\Programme\S2U2\ilock2.exe","-nomsg"
Sleep 3000
Run "\Programme\S2U2\s2u2.exe"


For me it work`s perfect.
mobiljoe

digitaldon37
4th January 2010, 01:51 AM
First, to everyone who is still using this program and has an interest in it, thank you.

Second, a lot of happened since the last release (job change, move across the country) but probably the thing that impacts this program the most is that I upgraded the program (Basic4PPC) that compiles this, and haven't spent much time working with it. Updating PF might be a good way for me to test the new compiler out.

Below is a summary of posts since 1.2.5 released:


I'll try to get an update out over the Thanksgiving holidays.

Sorry this is late ... if anyone is still interested.

Attached is a test version of some fixes - just copy over your existing executable.

Yahoo changed how locations are handled in their weather feeds. Locations now have a "where on earth id" - that is one of the things fixed in this release. Also fixed a few bugs.

Regarding the request to add additional information (i.e. on tabs) - that would require changing weather feeds. I've looked into several and most of them would require paying a fee to get the same level of details.

mobiljoe
4th January 2010, 09:22 AM
Hi digitaldon37,

with your test version i get a error:

The file or assemble name "\ ... \ Pocket Forecast \ HTTP.dll" was not found.

mobiljoe

digitaldon37
5th January 2010, 12:55 AM
Hi digitaldon37,

with your test version i get a error:

The file or assemble name "\ ... \ Pocket Forecast \ HTTP.dll" was not found.

mobiljoe

Sorry about that - I forgot to compile the libraries into the executable. The recompiled updates are attached.

Attached are PC and Pocket PC versions. Just unzip and run. After these go through some testing I'll cab them and put them into the first post.

Note on the location lookup: Yahoo now uses a "where on earth ID" for the location id. Sometimes the woeid doesn't return a city name. You can edit the file "woeid.ini" if this happens. Also the look up accepts zip code, city name, or whatever you want to look up.

mobiljoe
5th January 2010, 09:06 AM
I'm testing ... :)

mobiljoe
5th January 2010, 01:49 PM
Now I have tested the program for several hours. Unfortunately, the update function still appears to not work properly. Even with the PC version no update takes place. I do not know why. :confused:
The new selection of cities is working well.

Again I use my script.

PS: I'll keep an eye on the course. ;)

caballero600
5th January 2010, 01:59 PM
Can I see more screenshots of the different themes somewhere?

thanks!!

digitaldon37
5th January 2010, 02:20 PM
Now I have tested the program for several hours. Unfortunately, the update function still appears to not work properly. Even with the PC version no update takes place. I do not know why. :confused:
The new selection of cities is working well.

Again I use my script.

PS: I'll keep an eye on the course. ;)

Hi. Did you change the settings from refresh=0 to another number? I defaulted it to not refresh per earlier requests. You can also do a manual refresh by pressing on the icon in the top left corner. Thanks for testing!

digitaldon37
5th January 2010, 02:22 PM
Can I see more screenshots of the different themes somewhere?

thanks!!

Good suggestion - there are several themes that have been contributed. I'll update the site where this is hosted (http://campusbbs.freehostia.com)

caballero600
5th January 2010, 02:53 PM
Good suggestion - there are several themes that have been contributed. I'll update the site where this is hosted (http://campusbbs.freehostia.com)

I will be looking fot that update!

digitaldon37
6th January 2010, 02:04 AM
Can I see more screenshots of the different themes somewhere?

thanks!!

I have uploaded some sample Pocket Forecast Themes (http://campusbbs.freehostia.com/doku.php?id=pf_themes) images. Some of the theme packs are at that web site, and some are on this message thread. I will have to go through and find them on here and copy them off to my web site (and give credit to the theme creator)

You can also create your own theme by copying an existing one, changing some settings in the theme.ini file (color values) and adding your icons.

mobiljoe
6th January 2010, 07:36 AM
Hi. Did you change the settings from refresh=0 to another number? I defaulted it to not refresh per earlier requests. You can also do a manual refresh by pressing on the icon in the top left corner. Thanks for testing!

Yes, I have tried different settings.
The manual update via icon works. :)
I have tested various time intervals. (60 min, 90 min & 120 min), it builds on an Internet connection, but there is no update takes place.:(

digitaldon37
7th January 2010, 01:51 AM
Yes, I have tried different settings.
The manual update via icon works. :)
I have tested various time intervals. (60 min, 90 min & 120 min), it builds on an Internet connection, but there is no update takes place.:(

I think I may have found why this happens. I'm going to code a work around, test, and upload.

mobiljoe
7th January 2010, 08:15 AM
I think I may have found why this happens. I'm going to code a work around, test, and upload.

Thanks. I`m waiting :)

digitaldon37
9th January 2010, 02:32 PM
Thanks. I`m waiting :)

I added some code to check whether an update is needed when the device "wakes up" or the application is maximized (from previously being minimized)

mobiljoe
9th January 2010, 02:48 PM
I added some code to check whether an update is needed when the device "wakes up" or the application is maximized (from previously being minimized)

I`m testing ... :)

mobiljoe
11th January 2010, 07:51 AM
Hi digitaldon37,

I tested different settings.
3G or WIFI permanently on; minimized or maximized; Device always on or in Standbay; different time settings.
But only the update via icon works.:confused:

digitaldon37
11th January 2010, 11:33 AM
Hi digitaldon37,

I tested different settings.
3G or WIFI permanently on; minimized or maximized; Device always on or in Standbay; different time settings.
But only the update via icon works.:confused:

I'm at a loss why this is happening. You might try deleting the file "default.cache" in the cache directory to see if that helps.

The way the program is coded, it downloads an update when the program starts up (if that setting is checked in the settings) and at every interval that it is set at (if it is set to 0, then it never updates)

When the program is minimized or hidden by some screen savers, I think there may be the possibility of the timer counting down to below zero and then never getting checked when the program is maximized or brought into focus. The code that I added resets the timer countdown to whatever the difference is between the last refresh and when the program wakes up. It may need to go through a couple of timer checks (usually spaced out at a minute each) but in my testing has always triggered a refresh within a couple of minutes.

Sorry this didn't work for you - I'll see if I can think of anything else.

mobiljoe
11th January 2010, 02:12 PM
I'm at a loss why this is happening. You might try deleting the file "default.cache" in the cache directory to see if that helps.

The way the program is coded, it downloads an update when the program starts up (if that setting is checked in the settings) and at every interval that it is set at (if it is set to 0, then it never updates)

When the program is minimized or hidden by some screen savers, I think there may be the possibility of the timer counting down to below zero and then never getting checked when the program is maximized or brought into focus. The code that I added resets the timer countdown to whatever the difference is between the last refresh and when the program wakes up. It may need to go through a couple of timer checks (usually spaced out at a minute each) but in my testing has always triggered a refresh within a couple of minutes.

Sorry this didn't work for you - I'll see if I can think of anything else.

Hi digitaldon37,

I`m playing around with other different settings. So I found this: When I disable S2U2 and your program is alwyas on the top the update function works. I test updating every 15 min.
Once your program is minimized, closed or S2U2 is activated there will be no update.

edit: The update function also works when S2U2 is active. Important: Your program must be on the top - not minimized!

digitaldon37
16th January 2010, 06:09 PM
Hi digitaldon37,

I`m playing around with other different settings. So I found this: When I disable S2U2 and your program is alwyas on the top the update function works. I test updating every 15 min.
Once your program is minimized, closed or S2U2 is activated there will be no update.

edit: The update function also works when S2U2 is active. Important: Your program must be on the top - not minimized!

After testing this some more, it seems there is a timing issue. The program checks its timer every minute, but if it is maximized from currently being minimized and the timing is just "so" the windows screen dim/sleep can kick in before it has a chance to refresh. I can continue to tweak the wake-up code but the bottom line I got updates 6 out of 10 tests on my PDA. It actually worked better for me when I let the screen shut off (after I had maximized the program) and then turn the screen back on.

Thanks for helping test - I'm not sure why I can't get this to work 100% of the time. I've cabbed the latest version and updated the main post. I'm now hosting the project over on Codeplex also.

bikatoke
25th January 2010, 12:12 PM
Great application!

But unfortunatelly, the 1.2.6 isn't work on storage card. .. sub main yahoodate ... error.

After hard reset and new install its work fine. :)

pegazo
2nd November 2010, 09:48 PM
Can anyone help .,Please!! I had the previous version of pocket forecast ,but now
I just upgrade to this version 1.2.6 and getting this message error,please help ..
I can't remember which version I had ,everything was fine until now,this new version works OK except for the 4 day forecast option. thanks in advance :confused:

digitaldon37
3rd November 2010, 12:39 AM
Hi. Sorry you are getting this error. I ran the program and added San Diego and was able to display current and forecast, so the problem may be a bad cache file. Please try deleting all of the files in the cache directory and see if that works. If it doesn't feel free to PM me.

pegazo
5th November 2010, 01:33 AM
thanks man for the fast response!! I think you are right something about the installation, I uninstalled the program ,and erase the remaining files ,plus I ran the vicsoft clean temp program/ and installed the program and still the same .
At this point ,I think I am going to do a hard reset ...what do you think? the only thing its
I have a bunch of programs to install again ..thanks in advance :(

digitaldon37
5th November 2010, 01:27 PM
thanks man for the fast response!! I think you are right something about the installation, I uninstalled the program ,and erase the remaining files ,plus I ran the vicsoft clean temp program/ and installed the program and still the same .
At this point ,I think I am going to do a hard reset ...what do you think? the only thing its
I have a bunch of programs to install again ..thanks in advance :(

Please do not do a hard reset - I am sure that would not resolve this as the program is pretty much self contained. If you have compact framework 2.0 installed that is all you need to run this program.

Between versions 1.25 and 1.26 Yahoo had made some changes which forced me to make some changes on how the program had to get location ids. If clearing out the cache didn't fix it, then deleting/re-adding the location id might fix it.

I'm not sure if uninstalling the program would have deleted the INI file - but you can try deleting the INI file (it should create a new default INI file when restarting the program)

Of course the program shouldn't be displaying such an error message - it should handle it more gracefully. Sorry about that.

pegazo
5th November 2010, 10:20 PM
thanks for you help I will keep you updated about htis issue.

pegazo
6th November 2010, 08:14 AM
ok I just going to give up!!!! I delete the files on the cache folder, I even do the hard reset,I installed all programs ,but of course I tried first the pocket forecast and ... the same issue only with 4 day forecast option.I just going to leave it alone for now, But you know I notice I am using compact frame 3.5 instead of the version 2 ,that coul be the diference? I just dont know... thanks for your help... P. s. I am using a T mobile wing..

Foppa65
9th November 2010, 05:39 PM
Im getting the same error, its a pity, a good program, has always worked before.
Tried to reinstall, deleting files and cache, nothing works.
Anyone have a solution for this

Penny Lane
19th December 2010, 02:02 AM
Can anyone help .,Please!! I had the previous version of pocket forecast ,but now
I just upgrade to this version 1.2.6 and getting this message error,please help ..
I can't remember which version I had ,everything was fine until now,this new version works OK except for the 4 day forecast option. thanks in advance :confused:

The problem appears to be caused by two things. The first major thing is that the current feed does not appear to supply the five day forecasts.

(NB: Change all "ll" to "tt" in the urls' below)

In refresh weather Where CurrentLocationCode = 110579 for Sydney
xml=GetRemoteRSS("hllp://weather.yahooapis.com/forecastrss?w=" & CurrentLocationCode & "&d&u=f")
The above XML only returns today and tomorrows weather

If I change it to
xml=GetRemoteRSS("hllp://xml.weather.yahoo.com/forecastrss/ASXX0112_c.xml")I get the full 5 day weather (in Celsius), as expected by your code

In the beginning "FixYahooDate" a change to:

Sub FixYahooDate (str)
If str ="" Then
yahooDate = "n/a"
Return yahooDate
End If

Just some ideas, hope they help as I would love to get this app going well.

Penny Lane
19th December 2010, 02:09 AM
I remember somewhere in this thread about adding the feature to update all locations at once. I also have some ideas on how you could achieve this fairly easily.

in globals
Dim Type (themeDir, mainWeatherCode, mainWeatherUnits, refreshAllAtOnce, refreshInterval, httpTimeout, language, errorLog, S2U, LVM, dtFmt, WindSpeedUnits, RefreshOnLoad, Check4Update, RefreshOnLocationChange) INI

in "LoadIni" add the lines
Case "refreshAllAtOnce"
INI.refreshAllAtOnce=arrINI(1)
change the following sub to
Sub imgCurrent_Click
If ini.refreshAllAtOnce="1" Then
For i=0 To LocationsNb
If Location(i)<>"" Then
CurrentLocationCode=Location(i)
RefreshWeather(0)
End If
Next
Else
RefreshWeather(0)
End If
End Sub
Inefficient I know because the refresh of the form will occur on each weather update, but a quick and easy gain. You would also need to (eventually) add the new setting to the settings page. I manually added the setting to the ini file myself.

Hope this helped.

Penny Lane
19th December 2010, 10:02 AM
OK, I got a little obsessed, and worked on the finger friendliness of the app. Attached is a zip of the code. Can anyone compile this? I only have the demo version of B4PCC. I also had to remove some DLL references that were not included in the demo version (Collections.dll to name one), so they will need to be added back in before the final compile.

With finger swipes:
1. Up or down changes/loops between locations
2. A swipe right in the top half, on the main screen takes you to the detail of today & tomorrow
3. A swipe right in the bottom half, on the main screen takes you to the 5 day forecast
3, Within the "detail" and "forecast" screens, a swipe right takes you to the other screen (ie detail to forecast, forecast to detail)
4. A swipe left in either the detail or forecast will take you back to the main screen
5. NB: You can swipe Up and down through locations while in any of the three screens

I also "fixed" the bug where Yahoo wasn't giving a five day forecast, so the app crashed. It still doesn't give you the 5 day forecast, but at least it doesn't crash

digitaldon37
19th December 2010, 01:00 PM
OK, I got a little obsessed, and worked on the finger friendliness of the app. Attached is a zip of the code. Can anyone compile this? I only have the demo version of B4PCC. I also had to remove some DLL references that were not included in the demo version (Collections.dll to name one), so they will need to be added back in before the final compile.

With finger swipes:
1. Up or down changes/loops between locations
2. A swipe right in the top half, on the main screen takes you to the detail of today & tomorrow
3. A swipe right in the bottom half, on the main screen takes you to the 5 day forecast
3, Within the "detail" and "forecast" screens, a swipe right takes you to the other screen (ie detail to forecast, forecast to detail)
4. A swipe left in either the detail or forecast will take you back to the main screen
5. NB: You can swipe Up and down through locations while in any of the three screens

I also "fixed" the bug where Yahoo wasn't giving a five day forecast, so the app crashed. It still doesn't give you the 5 day forecast, but at least it doesn't crash

Penny & Foppa, sorry I didn't catch your posts earlier. I'm glad to see there is some interest in Pocket Forecast, and appreciate the code updates you made.

I need to reinstall Basic4PPC so that I can compile the changes - I'll post an update later today.

Hoe
19th December 2010, 10:03 PM
Hi,

your app is great, thanks!

I got some suggestions/questions ?

- is there a small documentation for all setting options ?
- how are you supposed to swipe between different locations on main screen ?
I swipe my finger in any way, but nothing happens.

digitaldon37
20th December 2010, 02:26 AM
Penny & Foppa, sorry I didn't catch your posts earlier. I'm glad to see there is some interest in Pocket Forecast, and appreciate the code updates you made.

I need to reinstall Basic4PPC so that I can compile the changes - I'll post an update later today.

Update: Not going to get a compiled version out tonight. Here's why: Yahoo weather xml that is returned when submitting the WOEID only gives two days.

More info here: http://developer.yahoo.com/weather/

However one of the things that are returned is a link that has the 5 day forecast.

Prior to Pocket Forecast 1.26, I used to parse the Yahoo web page to look up a location code. That was sometimes unreliable as Yahoo frequently made changes to that. Their API provides the WOEID to lookup a location code, which is not the same as the Yahoo code. For example, the WOEID for Sydney is "1105779" and the Yahoo code is "ASXX0112"

The fix will be to send (2) requests to Yahoo; one with the WOEID and parse out the Yahoo location code, then another with the Yahoo location code to get the 5 day forecast.

Foppa65
22nd December 2010, 02:31 AM
Looking forward too get the new compiled version // Foppa

Penny Lane
22nd December 2010, 11:33 AM
I was playing a little with it, and on my local version I have added a "Space Weather Page". This page has the following items:

1. A "Grey Line" map of the earth showing the current temps by colour, and shading showing the day/night

2. A current image of the sun

3. The solar wind speed, Solar Wind Temperature, Solar Wind Density, Solar Wind Pressure and Solar Wind Speed (click on this image to cycle through the different ones)

4. Another gauge showing the magnetic field strength, Speed and Dynamic Pressure.

Most of the above is pretty academic except for the grey line image. I have been looking for one of these for my phone for a while. I might make this into a stand alone app in itself.

The code which I have is NOT ready to be compiled and run, so I didn't attach it, but will if there is an interest.

I also fixed a lot of the swiping I did previously as I had it the wrong way around.

digitaldon37
28th December 2010, 12:15 AM
Looking forward too get the new compiled version // Foppa

weather82.zip is the source code
pocket_forecast.zip is the executable (copy to your PDA/phone where PF is currently installed)

Sorry - I had to use an earlier version so the changes that were made aren't carried over. I couldn't find which libraries had been dropped and didn't want to risk not including everything.

Note - this will ALWAYS fetch the weather from the Internet; it doesn't use the cache. The reason is that I have to read the forecast twice in different formats, and the cache only uses the original (2 day weather) forecast. If this version works, we'll figure out a way to cache properly.

I don't have the emulator set up and I no longer have a WinCE 6.x phone so I could only do testing from the IDE.

Foppa65
31st December 2010, 03:43 AM
Thanks for your effort digitaldon, but i could not get it working.
Some missing file or independencies // Foppa.