yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Wolfkmann:
All this makes sense, thanks for explaining. Would you mind explaining to he how the cache works? What I mean is, in the morning, before I leave my house, I get an updated forecast for the town I live in. I also switch via the locations page, to the town I work in. This morning, I forgot to switch back to where I live. While at work, I tried to switch back, but since I can't get a wifi connection, it wouldn't let me switch locations. I thought it would, because I downloaded both locations in the morning, thinking that both would be stored in the cache, I guess don't understand how it works.

Thanks,

-Wolf
[Windows Mobile Apps and Games] digitaldon37:
The program saves each location in the cache directory with the file name "location id" and ".cache". It also creates a "default.cache" file for the current location.

What should happen is that if you have the refresh interval set higher than zero, it will attempt to download a new cache when changing locations. If you have the interval set to zero, it should use the cached location file and copy it to "default.cache", unless the cached location file doesn't exist and then it will revert back to the default.cache file.

If it's not letting you switch locations because there's no wifi connection, either the file is getting deleted or the program is not flowing the way I described it (both would be bugs)

[update] Testing on my pocket phone with interval set to 0 and switching to flight mode, it is deleting the location that I am switching from. So it let me switch to another city (ie I left my home location, flew to remote city for client work) but it deleted the cache file for my home location - the city I left. Not what I intended - I'm going to log as a bug and write a fix.
[Windows Mobile Apps and Games] Wolfkmann:
I will patiently wait for the newest version of this incredible and rapidly evolving program.
[Windows Mobile Apps and Games] Mr.Okada:
Update Japanese file

Oh! I used old one... OK, I updated. Thanks for your check.
[Windows Mobile Apps and Games] digitaldon37:
Wolfkmann, attached is the latest developer's release. Please let me know if this fixes your issue.

Developer's release .43 is based on the latest public release (1.1)
[Windows Mobile Apps and Games] Wolfkmann:
I am sorry to report that if I am not connected to wifi or to the computer via ActiveSync, it will not let me switch locations.
[Windows Mobile Apps and Games] digitaldon37:
Sorry, please try this one.
[Windows Mobile Apps and Games] Wolfkmann:
This one works great! I connected to wifi, updated the 5 cities I have stored on the locations page, and when I disconnected, I was able to recall all 5! I didn't test to see if it can store more than 5 forecasts at a time.

Thanks alot.

What else is planned for future versions?
[Windows Mobile Apps and Games] digitaldon37:
This developer's release (.45) has left-right / right-left finger swipe to scroll through your saved locations. (thanks to Klaus!)

Still working on that roll-over feature.
[Windows Mobile Apps and Games] Wolfkmann:
I tried .45, I couldn't get the finger swipe to work. does something else need to be activated first?

Will be happy to keep beta testing.

Am I the only one that has shown interest in the descriptor words on the main page?

Thanks for the quick responses.

-Wolf
[Windows Mobile Apps and Games] digitaldon37:
Sorry, forgot to mention this: swiping must be done in the "Tomorrow" box (use a slow motion)

Regarding descriptor words - with how text is written onto the form this is easier to do now. I can combine the City/Region onto one line and write the current condition, but I'm having difficulty in the Today/Tomorrow sections. That is because some languages have long words for Today/Tomorrow and some of the other text. Could icons be modified to give a short description (ie Rain, Cloudy...)

[edit] looking at the condition mapping file it looks like at most there are 23 characters in the condition description.
[Windows Mobile Apps and Games] Wolfkmann:
I can get the finger swiping to work, if I strictly swipe over the word "tomorrow" . If I start or stop beyond the "w" (depending if it is a right or left sweep) it doesn't work. But, my point is, now that I know this, as long as I confine my sweep to the word, it works well.

As for the descriptors, what about an option to combine day and date into one line, freeing up a line for the descriptor. instead of:

Today

Wednesday

17 Dec 2008

It is done as:

Today

Wed 12/17/08

Partly Cloudy

-Wolf
[Windows Mobile Apps and Games] klaus_ch:
Hi Wolfkmann,

Can you please try this one.

- Increased the swiping area to the Today and Tomorrow area.

- Changed the Today display with weather conditions, the Tomorrow display is still the previous one for comparison.

Best regards.
[Windows Mobile Apps and Games] Wolfkmann:
I don't see anything different from the previous update that Digitaldon posted, v.45
[Windows Mobile Apps and Games] klaus_ch:
Sorry I ziped the old file.

Here is the new one.
[Windows Mobile Apps and Games] digitaldon37:
Developer's release .46.4

Version .46.4 contains changes that display weather conditions on the main page.
[Windows Mobile Apps and Games] Wolfkmann:
Great! all the information I was hoping for on the main page!

I tooke DigitalDons .464, I didn't try the re-post from klaus.

Look at my attachment, can see see one problem?
[Windows Mobile Apps and Games] digitaldon37:
Sorry - that happened by copying & pasting code (and then not paying attention to testing). Please see attached-same version but fixed
[Windows Mobile Apps and Games] Wolfkmann:
That's great, absolutely great.

Make sure you send this version to all the freeware sites, it is top-notch.

I now have 3 questions.

1) When I tap on the current conditions icon to get an update, does it update all my locations, or just the one I am currently looking at?

2) on the bottom left corner of the main page it says:

Last Weather Update:

Thu 18 Dec 2008

5:53 pm EST

refresh @ 18:24

If I hit update, the times5:53 time isn't changing, but the refresh @ time does. Am I really getting an update?

3) Is it possible in the .ini file to bold my text if I wanted to?

One more thing I noticed. On the today details page, and the fourcast page, if I tap on the icons, nothing happens except I hear a beep. Does this mean anything?

Thanks again.
[Windows Mobile Apps and Games] digitaldon37:
Thanks for all your testing & feedback. This was posted on freewarepocketpc.net and has made some other sites. Hopefully everyone finds it useful.

1. It only updates the current location. If this was something that everyone wanted, I guess we could add a Y/N option to update all locations.

2. The last update is when Yahoo updated their data. They usually update it every hour.

3. No. You can change the font type in the theme.ini but it affects all printing. If we were to add bold, I'm sure it would have to be all printing also

4. The icons on the details page don't do anything. Yet. If I can get a weather feed with hourly details I might use those icons to drill down to hourly details.

A future enhancement is to add a plug-in page which will basically be a HTML container that can run javascript and have access to the weather data. In theory, this would allow you to write your own displays.
[Windows Mobile Apps and Games] digitaldon37:
Developer's Version .47

I have uploaded version .47 to the main post. This version integrates with Levenum's Today Screen plug-in (http://xdaforums.com/showthread.php?t=312058) to display either the current weather or forecast.

If everything tests out ok I will be rolling all the latest development releases into a new public release build.

.47 (12/19/08)

==================================================================

- add Today Screen plug-in integration (Levenum project)

.46 (12/18/08)

===================================================================

- add condition descriptions on main page

.45 (12/17/08)

====================================================================

- left/right & right/left finger swipe to switch locations (klaus)

.44 (12/17/08)

====================================================================

- fix offline cache / location switching bug

.43 (12/17/08)

====================================================================

- add S2U key update to "RefreshWeather"

- fix bug where interval set to zero and deletes location cache

- fix refreshweather bug (sets timer off for ini=0)

.42 (12/16/08)

====================================================================

- add klaus's update for city/location id (sorted array)

1.1 (12/14/08)

====================================================================

- public release containing developer fixes d.39 to d.41
[Windows Mobile Apps and Games] :
got exception error!!!!

hi i got the latest version

after i installed it. i run it and i got the following error msg: "An error occurred on sub_main_changetovga NullReferenceException Continue?"

if i pick yes, it will run the software. but the main is on the bottom
[Windows Mobile Apps and Games] digitaldon37:
Hi, Does public release 1.1 run ok? If it does, I can send you a version between 1.1 and .47 to see if this is a new problem or old.
[Windows Mobile Apps and Games] klaus_ch:
Hi jiejie,

What kind of device do you have and

what is the screen size ?
[Windows Mobile Apps and Games] :
sorry, i didn't realized i forgot so many details:

i installed the 1.1 version. the menu was at the bottom( i saw the menu was at the top for the newest version)

i am using bell's htc touch pro.
[Windows Mobile Apps and Games] digitaldon37:
Hi. The PC version ("PC Forecast") has the menu at the top, and the PDA version ("Pocket Forecast") has the menu at the bottom - this has been this way for every release.

The Touch Pro has a screen a VGA resolution, so I am not sure why you are having issues (especially with 1.1 - which has been out a while). Are you having these problems with the 1.1 that was in the cab install? I'm assuming you didn't install a different theme or make any changes to it.

There is a log file setting that you can enable. If you can send me a log file and the programs INI file (it will be in the directory you installed the app to) I can see if I can replicate the issue.

Maybe someone else with a VGA device can comment on this also.
[Windows Mobile Apps and Games] digitaldon37:
Hi jiejie,

Attached is a potential fix for your issue - just copy the executable into your install directory. Please let me know if this works ok.

Thanks!
[Windows Mobile Apps and Games] :
thanks. i put the file in my installation folder, and i dont get error anymore.

i enabled the log, but i can't find anything that looks like a log file in the installation folder.

this version looks like the previous version? no new features?
[Windows Mobile Apps and Games] digitaldon37:
Thanks for the feedback - I have had other VGA testers say that .48 works for them also. With this testing complete - I will be rolling all development builds (.42-.49) into a new public release. The changes include 1) swiping left/right or right/left to change locations, 2) integration with Levenum's Today Screen plug-in, 3) printing weather details on main page, and 4) several bug fixes.

Nothing major - but more stable and some new features.
[Windows Mobile Apps and Games] Wolfkmann:
I am playing with the PC Forecast version in the main post. Three questions:

1) It doesn't have the ability to give the descriptor on the main page, can this be added?

2) In the settings page, why is there an option to S2U integration? This program doesn't run on a PC.

3) Is it possible to create an option where it doesn't have around it the typical windows border. It would be cool if it was just the image only, not the border or the top bar with the maximize, minimize and close button.

-Wolf
[Windows Mobile Apps and Games] digitaldon37:
Hi wolf, thanks for being a great tester and with all of the feedback to help make this program better.

1. The descriptors are now in the pocket and pc versions (they use the same code base so this is kind of automatic) - I just rolled a public release 1.2 and it is on the wiki pages. Download the PC zip version for that

http://campusbbs.freehostia.com/doku.php?id=pocket_forecast

2. The S2U option (and now the Levenum Today Screen) option is there because both the PC and PDA version use the same code base. I guess I probably could disable/hide those on the PC

3. Good suggestion - when I implement up/down swiping and add full screen on the PDA I may see if I can do something visually the same for the PC version.
[Windows Mobile Apps and Games] Wolfkmann:
I like the new capability to have the current conditions as a today plugin. Currently it is just one line of text. Great, but a bit boring. Any possibility of evolving it into something like what I have attached?

Ever consider on either version adding a link to take the user to weather.com for more information that what can be obtained from the RSS feed? Things like the 6-10 day forecast, for example?
[Windows Mobile Apps and Games] digitaldon37:
A plug-in is something that the programming language that I used for Pocket Forecast does not support, so I had to rely on an external project to implement this. So the good news is that what you describe is feasible (Levenum released his source code) but the bad news is that I currently don't have the skills to do it.

It does sound interesting and I would be willing to work with anyone who could make the modifications to do that. It seems to me that it would be as simple as having Pocket Forecast create an image and registry entries to provide the data, and the plug-in to display the data.

The linking to weather.com is also very doable - but may work better in the plug-in that I am working on (future feature)
[Windows Mobile Apps and Games] davehutch:
Cache problems

Installed 1.2 from the Dev's zip file and it still updates the weather feed every time I swipe to change locations.

Have I missed something?
[Windows Mobile Apps and Games] digitaldon37:
Hi Dave,

If a cache file doesn't exist, it will go out to the internet and grab one the latest one. If it does exist, it should use it (even if it is old) On mine I can swipe between locations and am getting forecasts from last week.

Is this is what happening for you?
[Windows Mobile Apps and Games] davehutch:
No

I delete the cahche, then swipe between three locations and get updates as normal.

This should have then built up a new cache for each location

Then I continue swiping between the three and each time it tries to update the info, even though I have an existing cache
[Windows Mobile Apps and Games] digitaldon37:
Attached is an update - one version displays a messagebox indicating where it is getting the weather feed (local location file, default cache, or remote); the other does not have the messaging.

Changes made (developer's release .50)

1. Delete "default.cache" before looking for local location file (only for the swiping change location)

2. If local location file exists, use that and create a new default cache file with that data...

3. If local file does not exist, get one from the Internet.
[Windows Mobile Apps and Games] Wolfkmann:
I tried version 0.50 with the messaging. Whether I was connected to my computer via USB, or connected to WiFi, or not connected to the internet at all, I always got the message, "getting local location" when scrolling through my cities. I only get an update if I tapped on the current condition icon. Was I not doing something correctly?
[Windows Mobile Apps and Games] digitaldon37:
You were doing it correctly - it will default to the local location file if it exists. You will have to manually refresh or wait for the next automatic refresh (if you have it set that way)

I made the program always read the local file (and require you to manually refresh) when scrolling through locations so that it wouldn't go out to the internet for a new file while you scroll.
[Windows Mobile Apps and Games] Wolfkmann:
That makes sense. I misunderstood originally, I thought that if it was connected, it would detect that and then it would get an internet update, and if it wasn't connected it would use the local file. Still love the program!
[Windows Mobile Apps and Games] Wolfkmann:
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.
[Windows Mobile Apps and Games] digitaldon37:
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
[Windows Mobile Apps and Games] gutte:
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.
[Windows Mobile Apps and Games] rexriver:
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
[Windows Mobile Apps and Games] digitaldon37:
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
[Windows Mobile Apps and Games] digitaldon37:
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
[Windows Mobile Apps and Games] rexriver:
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!
[Windows Mobile Apps and Games] digitaldon37:
I've added this to the features request list, and I may add the city name in the next release.
[Windows Mobile Apps and Games] digitaldon37:
Version 1.2.2 / D.51

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/dok...ast&DokuWiki=0b976c1b59dec48f82e3f2247206d918
[Windows Mobile Apps and Games] gutte:
Barometer, wind, moon & language

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! ;)
[Windows Mobile Apps and Games] digitaldon37:
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)
[Windows Mobile Apps and Games] [germany]merlot:
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.
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] [germany]merlot:
Yes, now it's working when I swipe in the today section. Maybe I was to fast I tried before. Thanks mate.
[Windows Mobile Apps and Games] keithdupont:
Manilla Blue Theme

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.
[Windows Mobile Apps and Games] digitaldon37:
Nice theme! I just bought a blue Acer Aspire netbook and this theme goes with it nicely
[Windows Mobile Apps and Games] keithdupont:
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???
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] gutte:
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?
[Windows Mobile Apps and Games] gutte:
Just to inform you Don: sliding to change location works fine on my HTC Touch Dual running Win mobile 6.1
[Windows Mobile Apps and Games] gutte:
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!
[Windows Mobile Apps and Games] digitaldon37:
Thanks, I'll add to the bug list and see if I can fix this.
[Windows Mobile Apps and Games] digitaldon37:
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.