yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] OceanSpray:
WOW v3.0 the Current or Forecast is very nice and easy read.

v3.0 was fine

v3.0 with font change i get this (on location 4 or 5 slot)
[Windows Mobile Apps and Games] digitaldon37:
version .30.1

I am not sure what caused that error - I did not change anything on how the xml is retrieved and parsed. I added error logging to the parser routines - if it encounters any bad xml from the Yahoo feed it will log it and continue (though probably with strange results). If this happens, then I can look at the xml from the cache directory and the error log to see what is causing this.

bug fix .30.1 has been uploaded to the main post

Please let me know if this works or not.
[Windows Mobile Apps and Games] OceanSpray:
I found the problem is 1 of the location cause weird thing happen " PMXX0004 "

error on main page and current.

Please test it.
[Windows Mobile Apps and Games] davehutch:
Only a very small point...

Forget it... Lovely app
[Windows Mobile Apps and Games] digidigi123:
Thanks, now it's perfect :)

digidigi123
[Windows Mobile Apps and Games] FatBoyExtraordinaire:
Looking forward to trying this out.
[Windows Mobile Apps and Games] YoLoLo:
;) I've checked before with Google if the name was in use ! ;)

Glad you liked one of my names :)

Anyway, even if i use SBSH PocketWeather, i find you app very classy !

Good luck !

Long life to Pocket Forecast ! :D
[Windows Mobile Apps and Games] digitaldon37:
The first time I ran it with that location ID the program seemed to have an error with the RSS feed (it displayed "Panama City", but no weather information) which tells me it hit the error logic and continued on without displaying an error. It seemed to recover ok after I hit refresh.

I'll look at the error log to see if I can find out what happened. I will upload a newer version later that will let users turn the error logging off and on.

Thanks for testing and feedback!
[Windows Mobile Apps and Games] digitaldon37:
Version .31

Version .31 has been uploaded to the main post. Changes include

- extended language support (you will need to copy the new \lng files)

- error logging (enabled by setting errorLog=True in INI file)

- About panel with program info and credits

If you've help test this and given feedback - I've given thanks and credit in this application. If I've missed you (I'm still going through this thread) or if you don't want to be listed, please let me know.

I want to test this a little bit more and then put everything into a CAB file as a version 1 release
[Windows Mobile Apps and Games] OceanSpray:
New Language is out, now we r using old language with all those typos and second on Forecast next to tomorrow and last day doesn't show INFO!

Sorry to say this UR rush got alot trouble. :D

Edit: hmm now last day forecast show info. after refresh again!

Question is a bug or minor typos why Icon and Detail doesn't match on Current & Forecast?

Edit: location CHXX0049 and PMXX0004
[Windows Mobile Apps and Games] digitaldon37:
Sorry about the language typos - someone over at the B4PPC forums has been working on the language files and I'm assuming the non-English language versions are the same as the ones I corrected earlier.

Could you tell me what location id you are using where you are not seeing the info on the details page? It is working on my zip code so I can't tell if the problem is in the parser or what Yahoo is sending in their RSS feed.
[Windows Mobile Apps and Games] digitaldon37:
The icons probably don't match because I downloaded them from two different sources. The current icons are 52x52 that Yahoo uses, and are numbered 0-47 (and 3200 for 'NA'). The forecast icons are 40x40 that I downloaded from another web site and are also numbered 0-47. I assumed that they would be the same. Probably a better way would be for me to shrink the Yahoo icons for the forecast page.

Also the "four-cast" (a play on words for "forecast") shows 4 days in the future and not today, so it can be misleading if anyone is looking for the current forecast on that page. I could only fit 4 days neatly on that page so I chose the future ones (Yahoo provides 5 days - 1 current and 4 future)
[Windows Mobile Apps and Games] digitaldon37:
I tested those locations and am getting all details for Hong Kong and Panama City. I'm using the same parser/display code for each forecast day, so I am not sure why it would not display one day but another. I could probably add some error checking code to force a refresh if some data is missing.

I noticed the forecast icons show funny looking bars for "Sunny" on one of those cities. I don't know what that means (I downloaded this from another web site) Simple fix is to copy a sun icon to the one that has those funny bars. I'll have to look more closely at those icons I borrowed.
[Windows Mobile Apps and Games] OceanSpray:
I unzip a different folder and work ok only those typos

Don't know why. :confused:
[Windows Mobile Apps and Games] Nemo0815:
Anybody tried this on a i900 with 240x400?

Also any "forecast" when VGA support will be added? :)

Good work so far!
[Windows Mobile Apps and Games] Wolfkmann:
I think this program is great. i have replaced the icons in the conditions directory with bluemetalaxe's Weather52PNG-Ifonz icons. It was a simple matter of changing the extensions in the conditions.txt file from gif to png.

I have also gone into the theme.ini file and customized the colors to my liking, can't wait until I can have a jpg as a background picture.

I have also converted blues icons down to 40 pixels, and am working on matching them up to be the ones in the details directory for the 4 day forecast. will share when finished.

I have two requests before I remove SPB's weather from my phone.

#1 can this be incorporated into AC's S2U2?

#2 On a details page for the forecast, can it be broken down to morning, afternoon and night? Instead of just stating rain on tuesday, it would be more beneficial to know cloudy tuesday morning, rain tuesday afternoon, clear tuesday night, for example.

Thanks, Wolf
[Windows Mobile Apps and Games] digitaldon37:
As soon as current functionality is tested and stable, I will be looking at other screen resolutions. I may need some feedback and screen shots how the QVGA version looks on 240x400, since I don't have a device that supports that and I need some point of reference.
[Windows Mobile Apps and Games] digitaldon37:
I am looking forward to seeing your customization. The background image seems to be harder to implement than I thought, but fortunately another programmer at the B4PPC forums is looking into that.

[edit] I just noticed that my icons for details and conditions do not have the same naming for 0-9. The condition is named 0.gif, 1.gif, etc and details are 01.gif, etc. The correct icon name should be single digit so that they match. The icons will be corrected in the next release, but I thought I'd mention this in case you were replacing any icons. I didn't want to break anything.

As to your questions:

1. Incorporation into S2U? I'll have to look into this - I am not sure about that.

[edit] This looks like S2U reads a registry key, so all I would have to do is write an update to the registry. I will add this to my short-term to do list.

2. Daily details - the current Yahoo feed doesn't provide that (unless there is a parameter that I am not aware of) If I can find another feed that provides this level of detail I can add it in.
[Windows Mobile Apps and Games] digitaldon37:
Sometimes a soft reset helps - the PDA may be doing some caching or something if it doesn't see a change in the file.

I've fixed the English and Spanish files but haven't uploaded them yet because the guy helping out over at the B4PPC forums is working on some new changes. I'll upload everything together.
[Windows Mobile Apps and Games] digitaldon37:
Well I finally had this happen (one of the days not showing a condition) - code wise, it shouldn't be happening since I'm looping through the xml and if it works on one tag, it should work on them all.

I've added some error logging to see if I can capture this, and if so, try to fix it.

Thanks for your help and feedback.
[Windows Mobile Apps and Games] Wolfkmann:
DigitalDon,

In the theme.ini file, what is the intent of each section, DEFAULT, WHITE, BLACK, OFF BLACK?

Knowing this will make it easier to intelligently customize the appearance.

Thanks,

-Wolf
[Windows Mobile Apps and Games] digitaldon37:
These were different themes. Instead of saving to different files, I just commented them out when testing them. I think the WHITE theme has the uncommented values which make them the active one.

There are also two "super" values that can be used to set everything:

themeFormColor - sets background, labels, text boxes, etc

themeFontColor - sets font color

When background images are implemented, these "super" values will be the ones that should be used.
[Windows Mobile Apps and Games] Wolfkmann:
here is a working copy of my version of the themes.ini file. these colors seem to work for me. Also in the zip file are the buttons that I am using. just put them into the default/buttons directory, and they should work fine.

You can see in the screeshots that I havent finished converting the forecast icons yet
[Windows Mobile Apps and Games] davehutch:
My "details" icons don't seem to match up

Yesterday's description of the weather said "Partly cloudy" but the details icon showed Cloud over Sun with lightning!!

Should there be 69 icons to account for night and day conditions or should there just be the normal 47?

Oh yes, and also the space allowed for Today and Tomorrow icons is less thena the Current icon. Is that delilberate? It makes it awkward to get a good fit for all icons on the main screen and isn't adjustable as far as I can see.

One more thing, is it possible to not have a white box in which the icon sits? Can it just have transparency and sit on the background? I'm not sure how the theme settings apply so haven't tried it myself.

Thanks
[Windows Mobile Apps and Games] digitaldon37:
I will upload the latest version with the current icon resized from 56 down to 50, so that it matches the today/tomorrow icons.

I also changed how the borders on the icon are done so the space the icon sits should have the transparent properties. You can turn off borders by giving them the same color values as the background form.

Now to your harder question - the reason for the mismatched icons is that I am using icons for the main page and details page from different sources. I can use the main icons and resize them so that they match.

Unfortunately the Yahoo feed doesn't provide values for morning and night, which may explain why they sometimes don't match. If I can find a parameter that does, I will add this feature in.

I may have mentioned in my original post that I am not a programmer. I'd like to add to that that I don't have much artistic talent either. :)
[Windows Mobile Apps and Games] digitaldon37:
Version .32

Version .32 has been uploaded to the main post.

.32 (11/26/08)

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

- resized main form icons to 50x50

- fixed landscape mode - right side view

- fixed "About" display

- changed "Current" icon border from label

- added error logging in parse subs

- rename PC weather PC Forecast

- fixed detail icons 0-9

Most of the changes are cosmetic and could have been resolved without a new build, but this version adds a setting to turn on error logging for some of the sub-routines. The program should never crash, but it may display (or not display) strange data when it encounters a data (refreshing the weather feed usually fixes that).

Error logging helps those like me who are obsessed with squashing every little bug and writing work-arounds. :)

I also renamed the PC version from "Weather" to "PC Forecast"

On another note, I am trying to learn how to create cabs. Any recommendations?
[Windows Mobile Apps and Games] davehutch:
Thanks for your obvious hard work

I do appreciate that this is not your specialist subject and I hope you don't feel I'm knocking this app in any way, just offering some observations.

I'm very pleased that I've finally got a lightweight weather app that is skinnable.

Considering the monster memory hog that Vito offer, they should be banging at your door for assistance to be honest
[Windows Mobile Apps and Games] digitaldon37:
Thanks. I don't take it poorly and I'm just knocking myself. I appreciate the feedback and suggestions and really want to make this usable for as many as possible, as well as use as a learning exercise for myself.
[Windows Mobile Apps and Games] digitaldon37:
This has been added to version .33 - anyone want to test? It seems to be working for me but I want to make sure it doesn't mess up anyone else's set up before I merged this into the main post.

My PDA setup: S2U v1.35, SPB Shell with Diamond theme, Pocket Forecast v.33

1. Copy Pocket Forecast executable to PDA

2. Run PF

3. Under settings, check the S2U setting

4. Optional: set refresh to auto-refresh. I have mine set at 15 minutes

5. Save settings

In S2U

1. Load settings

2. Change "Today's Weather Forecast from" to option 5

3. Save
[Windows Mobile Apps and Games] Wolfkmann:
I'll test it with S2U2, givw me a day and I will report back
[Windows Mobile Apps and Games] Wolfkmann:
I have been been playing with the S2U2 integration, and it works very well. In my S2U2 settings, I had to select option #5 userweather. On my S2U2 screen it displays a descriptor word for the current condition under the icon, for example "cloudy" this is so much better than SPB which just lsted the forecasted high for the day.

question: is it possible, along with the descriptor, to have the current temperature displayed? That would be ideal in my opinion.
[Windows Mobile Apps and Games] digitaldon37:
Sure! Please let me know what you think of this update.
[Windows Mobile Apps and Games] Wolfkmann:
Excellent. I can't think of any sugggestions to improve the s2u2 integration.

EDIT:

The way you coded this, is it possible for me to see how it looks with the temp above the descriptor, instead of side by side (put a carraige return between them), or is this something hard-coded that would require another version release?
[Windows Mobile Apps and Games] digitaldon37:
It's hard coded - it wouldn't be hard to change - but it doesn't look like there is room in S2U for two lines. At least that's how it looks on my XVGA device.
[Windows Mobile Apps and Games] digitaldon37:
Version .34

Version .34 (developer's edition) has been uploaded to post #1

.34 (11/27/08)

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

- Updated theme manager (applies when selected)

.33 (11/26/08)

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

- Added S2U support integration

- Tweak theming

- Added details, buttons mapping file

- Added "realize" theme

I also uploaded a theme "pf-realize" that uses the icons by bluemetalaxe.
[Windows Mobile Apps and Games] digitaldon37:
Version .35 pre-release

Version .35 is attached to this post. Image background theme has been implemented, although it only works in portrait mode.

Requires an image library (DLL) to be copied to the same directory as the executable.

Currently working on merging the other developer's code for VGA support.

Attached:

- pocket forecast v.35 developer

- sky theme

[update] reuploaded with fix to "Add Location" screen
[Windows Mobile Apps and Games] davehutch:
Blimey, you're fast

I've just managed to get .34 loaded.

Here are a couple of screenshots though that demonstrate a problem I'm having. The png files don't show well on the htc Touch but are great on the PC.

Any idea what I might be doing wrong?

I've atached a zip of all my files so you can tell what I'm up to (hopefully)

Right, now to test .35
[Windows Mobile Apps and Games] digitaldon37:
I've always had better luck using gif files on the PDA. Please let me know how it looks under .35 - the programmer at B4PPC who is doing the theming changed a lot between .34 and .35 on how the images are displayed.

[update] - I had to re-upload a newer v35 to correct the screen on Adding Locations.
[Windows Mobile Apps and Games] bluemetalaxe:
Hallo. i´m playing again with this and i´m happy that you use my Icons too. Just some things and question to help you.:

1. i have to fight with

different button sizes

2. the

pressed or selected buttons graphics

don`t work

3.

PNG

is allways a Problem with windows mobile, as far as i know windows mobile can´t do a smooth transition. because it only knows transparent or not transparent but pngs can be partly transparent. But there are apps out like s2u2 or todaylife that can handle the pngs (?).

3. The buttons placement is a bit confusing, in the forecast windows, i have

a back button and a back arrow

too ? Maybe you should rework the whole user concept ?

4. I find no settings for the

white border around the four-cast Icons

5. I have

english and german text mixed

, seems that "GM" is not General Motors its Germany he he. Would it help/is it possible to get the weather from german or other yahoo websides ?

6. can it be that when i minimized it, and its updating, the

application comes in foreground again

?

7. You made gifs out of my icons, is it possible to use the png weather icons i made so that i dont´t have the black corners i made for ifonz (ifonz has the same png problem). Then we also could use rumballs png weather icons for this.

Greetings.
[Windows Mobile Apps and Games] digitaldon37:
Thanks. A lot of comments - I'll try to see if I can answer them all. I'm in the middle of creating a manual and added you to the credits for the icons. I hope that is ok.

1. The weather icons should be 50x50 on the main screen, 40x40 on the detail screens, and the buttons are 50x60. I am not sure what you mean by fighting with different button sizes

2. I am not sure what you mean by this. Each button is mapped to one image (there is not one for selected, and one for unselected)

I may try to standardize the weather icons on sizes that are already out there (48x48, 36x36) To be honest, I don't have much graphic ability and this is my first skinnable project - so suggestions are welcome.

3. There is a back arrow on the menu bar and a back button - is this what mean? I know it is redundant for now - my goal is to implement finger swiping and eliminate the menus (and enable full screen)

4. I'll have to look at the code for the white borders - this is being recoded by another programmer and I thought the borders had a color property.

[edit] I didn't see any borders on the detail page in v.35 - the image placeholders are set to transparent so image files should display as is.

5. The other programmer who did the language support code is from Germany and I know he told me he looked into this, but hasn't found a solution yet.

6. I hadn't noticed that. That's annoying - I'll have to see if I can fix that.

7. You should be able to put the original PNG files in the directory and change them in the details and condition mapping files.

[edit] The theme that I'm using for v.35 uses your original png for the conditions, and scaled down copies in PNG for the detail. The file names are in conditions.txt and details.txt for that theme's directory.

Your theme and dave's up in an earlier post look better than anything I could come up with - one of the reasons I wanted to implement theme is because I don't have graphics talent and knew others could do a much better job than me. :)

Did you do your theme in version .34 or .35?
[Windows Mobile Apps and Games] bluemetalaxe:
okay thanks for your answers, i just looked in the buttons folder

-there is a "button_quit" in 48x48, a "button_back" in 50x66 and there are always two of the default status buttons (one with a "R" at the end) in different colors. There is a "Button_save" and a "button_select" with the same graphics ? And then there seems to be the original graphics you use like "Floppy" also in this folder. Thats what i mean ;)

- the two different weather icons sizes are okay, because they make sense.

- maybe we could use different yahoo pages for different languages ?

i made this with 0.33 but i continue playing now with 0.34
[Windows Mobile Apps and Games] Wolfkmann:
I am testing version 0.35, and I have a couple of issues.

#1 The text now looks "fuzzy" around the edges, not sharp.

#2 The sky images aren't loading as background, don't know how to get that to work.

#3 In the bottom left corner of the main page, is says:

Last Weather update:

,28 2008

8:53 EST

refresh at 21:09

It isn't showing the month.
[Windows Mobile Apps and Games] digitaldon37:
Hi, are you using a language file that has 56 as the first line? For example, \lng\WeatherE.txt has 56 on the first line.

Would you please PM me with screenshots and identify what text is fuzzy? This will help me identify what fonts I need to fix.

I'm not sure why the sky background isn't loading. I put the sky theme in the themes directory, selected it in the settings, and saved and it seemed to work. (though I thought the fonts in that looked fuzzy. The fonts look ok to me when using a plain background)
[Windows Mobile Apps and Games] digitaldon37:
Those extra buttons are from earlier versions. You really only need 4 buttons that are defined in buttons.txt (and currently the program only uses 3 of those)
[Windows Mobile Apps and Games] Wolfkmann:
I don't get anything other than "default" as an option in settings. This could be the problem. The fuzzy font, I will post a screen shot. When I switch back to version 0.34 it clears up. The first picture is version 0.35, the second is 0.34. I don't know if you can see the fuzzyness in the screenshot, but it is very evident on my phone.

EDIT: I solved my issue of not getting the sky theme. Now if you could just help get the clarity of the font back to the way it way it 0.34, that would be great.

I just noticed, in version 0.35 when I switch to landscape, I lose all text, I see only icons.
[Windows Mobile Apps and Games] davehutch:
Still not sure that the details icons are showing correctly

Here are some v.35 screenshots I took this morning:

The icons don't reflect the descriptions and don't really match up with Yahoo either.

Also, the Today Details screen should really read AM Rain/Snow shower as that would be today's forecast...Fog is the current weather
[Windows Mobile Apps and Games] t0k0m0k0:
This weather apps looks very nice, but I have a bug for which I didnt find the answer:

- when using the realize theme, the text disappear from the forecast pages (but not in the setting panels)

- I have tried many combinations in the ini file without any success

- The default theme works great

- you have forgotten to explain that to use a background, you should put the jpg file (named as the folder theme name) in a folder named "background" within theme folder... but it works (except the that with the default theme the font does not include very well with backgrounds... and other themes does not work for me...)

Concerning the developpement of the app it would be very nice to have:

- the choice of the weather database (not only yahoo), which will make the program more "open" ;)

- if this could be done it would be great to have "WindGuru" data which are very useful for wind and all other forecasts... this will be also a very strong reason for all windsurfers to adopt this tool ;)
[Windows Mobile Apps and Games] digitaldon37:
The landscape should be fixed today.

I noticed both of the screen shots have the bold font - which is common to version .35. I am going to change those to normal to see if they help make them clearer.
[Windows Mobile Apps and Games] digitaldon37:
I'll have to check some more on the icons matching - the latest icon set I'm using are from Yahoo and they are the same for current conditions and forecast (previously I had used forecast icons from a different source). Yahoo does have different sets that they use. I'm attaching a screen shot for my current weather.

Regarding the Today Details screen - good catch! I did not notice that and when I went back to look at the code I saw that I am not using today's forecast. I will fix that in the next release.