yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] mobiljoe:
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.:(
[Windows Mobile Apps and Games] digitaldon37:
I think I may have found why this happens. I'm going to code a work around, test, and upload.
[Windows Mobile Apps and Games] mobiljoe:
Thanks. I`m waiting :)
[Windows Mobile Apps and Games] digitaldon37:
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)
[Windows Mobile Apps and Games] mobiljoe:
Downloading

I`m testing ... :)
[Windows Mobile Apps and Games] mobiljoe:
Testing

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:
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] mobiljoe:
Updating

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!
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] bikatoke:
error

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. :)
[Windows Mobile Apps and Games] pegazo:
question about pocket forecast version1.2.6

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:
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] pegazo:
thanks for the fast response !!

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 :(
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] pegazo:
thanks for you help I will keep you updated about htis issue.
[Windows Mobile Apps and Games] pegazo:
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..
[Windows Mobile Apps and Games] Foppa65:
getting this message error...yahoo

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
[Windows Mobile Apps and Games] Penny Lane:
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.
[Windows Mobile Apps and Games] Penny Lane:
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, [COLOR="Red"]refreshAllAtOnce,[/COLOR] 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.
[Windows Mobile Apps and Games] Penny Lane:
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
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] Hoe:
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.
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] Foppa65:
Looking forward too get the new compiled version

Looking forward too get the new compiled version // Foppa
[Windows Mobile Apps and Games] Penny Lane:
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.
[Windows Mobile Apps and Games] digitaldon37:
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.
[Windows Mobile Apps and Games] Foppa65:
Still having problems with the app

Thanks for your effort digitaldon, but i could not get it working.

Some missing file or independencies // Foppa.
[Windows Mobile Apps and Games] digitaldon37:
Hi..Thanks for the feedback. Could you post a screen capture of the full page screen set? I do not have any code to enable that so I want to track that issue down. (please post type of PDA, wm version,etc - this might be specific to B4PPC compiler)

I will probably move the minimize button to the top form - I think having it on the child form is causing the issues you described. I am trying to code out touch flow so I can implement: 1) side to side: scroll locations, 2) up: go to config, 3) down: minimize

I will also delete the hidden thumb files to make a smaller zip. I don't know about joining the top current and today - I left a lot of room in the top in case someone lives in a city with a big name. :)
[Windows Mobile Apps and Games] digitaldon37:
This is coded for 320x240 but other screen sizes is on my list to do once I get the basics stabilized. Thanks for testing!
[Windows Mobile Apps and Games] digitaldon37:
I noticed that I forgot to include the font color for "Tomorrow H:" in applying the theme settings - I'll get that fixed on the next release.

Your theme looks really good. I may want to use that as the theme on my PDA when you are finished with it.

Please let me know if you have any theming suggestions. I am a project manager by trade (not a programmer) so I'm using this project to brush up on my programming skills. If there is an element or control that needs to be added I'll see if I can do it.
[Windows Mobile Apps and Games] OceanSpray:
Sry for the typo

I mean touch anywhere on the screen go straight to Setting even small area

except the yellow spot and Quit.

HTC Touch WM6.1

ROM v3.03

NET CF 3.5

suggestions

Complete Full Screen ( no top bar and bottom bar)

FLIP (like SBP)

Finger Friendly (got crazy tum)
[Windows Mobile Apps and Games] digitaldon37:
Thanks for the feedback on that. I am currently working on updating the flow code and hope to get that fixed soon.

Good suggestions - I'll add those to my list. I'm not sure I'll be able to create flip but I know the complete full screen is possible (did that as a test and turned it back off)
[Windows Mobile Apps and Games] digitaldon37:
Version .23

Version .23 is uploaded to the main post - this is a bug fix for some theme issues.

.23 "theme bug release"

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

- Fixed theme font bug for TomorrowHlabel

- Added error checking for theme value in settings

- Moved minimize feature to main screen

- Added "last refresh time" to main screen
[Windows Mobile Apps and Games] OceanSpray:
I got the info u looking for more day forecast ( credit to radhoo )

5 Day Forecast

http://xml.weather.yahoo.com/forecastrss?p=94704&d
[Windows Mobile Apps and Games] davehutch:
Another small request

This is coming along really nicely, I've already replaced my Vito Weather (4MB) with this one.

Any chance of a better application icon...higher res? Looks nasty
[Windows Mobile Apps and Games] digitaldon37:
Thanks! For some reason I couldn't find this - this is just what I was looking for. It looks like it uses the same XML tags as the other feed so I should be able to parse this with no added code.

I'm open for suggestions on how to display this. If and when I add full screen mode (tested already - it works - but it doesn't look right with current UI) it will fit on the main page.

As a quick implementation, I will probably put it in the details page with the rest of the forecast.

I like what iWeather did - another option may be to create a new details page that is similar to that.
[Windows Mobile Apps and Games] digitaldon37:
I'll work on that, but if you have one that I could use please PM me. The program icon has to be compiled in.

In the next release the form buttons (quit, save, back) will be user defined images also (gif, png, jpg).

Thanks for everyone's feedback!
[Windows Mobile Apps and Games] OceanSpray:
small idea (Full Screen)

top info for location ID

black spot is ICON (i can't good 1)

for back and next using small bar (like iwindowsweather scrol)

need transparent font center

for forecast click 4 day more detail
[Windows Mobile Apps and Games] digitaldon37:
Version .24

Version .24 has been uploaded to the main post.

Changes

- Added themed image buttons (save, quit, close)

- Moved settings, minimize icons to details page

- Removed touch-flow until future release

- Rename PDA executable "Pocket Forecast"

- Added 5 day forecast (thanks OceanSpray!)

Special notes for this release

1. Delete any existing caches (for new 5 day forecast)

2. Settings and minimize buttons have been moved to the details page. Minimize should still work properly (only 1 form instance)

3. Test touch-flo code has been disabled until I get a more robust version working

4. Be sure to copy new images to default theme (if upgrading) and relink previous "ppcWeather" to "Pocket Forecast"

The ability to look up a location id should be coming soon - someone at B4PPC has sent me some code to this this.
[Windows Mobile Apps and Games] digitaldon37:
Thanks for the suggestion and screen shot. I need to put the full-screen option back on my to-do list (I tested but disabled the code and just forgot about it)

I think I may as a future to-do is write the details page as HTML. This would give anyone with HTML knowledge the ability to make the page any way they want. I did this with a wiki program I wrote so it's not hard to do. I want to wait until I get functionality done and tested before making any more big changes.

Thanks for the 5 day link, it seems that the only difference is an extra parameter and you get the entire 5 days. It made it a simple code change (changing one variable from 2 to 5!)
[Windows Mobile Apps and Games] OceanSpray:
You Welcome! digitaldon37

u forgot to delete ppcweather.exe
[Windows Mobile Apps and Games] digitaldon37:
Version .25

I have uploaded developer's version .25 on the main post.

.25

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

- Added location look-up. Thanks Klaus! (Basic4ppc forums)

I have a few suggestions to implement, but with this release I am going to hold up any changes and give everyone a chance to test and comment. Unless there is a bug fix, I think I will try to wait at least one week before making any more changes.

Thanks everyone! Please keep testing and sending your feedback, and if you have any themes please upload them here.
[Windows Mobile Apps and Games] digitaldon37:
Version .27

I have uploaded version .28 to the main post

.28 (11/21/08)

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

- added minimize to Fillipo's menu bar

- added hr bars at top on page 2 & 3

- moved language files to lng directory

- cleaned up UI

.27 (11/21/08)

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

- Added menu bar (Thanks Fillipo!)

- Added language support (Thanks Klaus!)

- organized code into Regions

In the zip file I have included the source code ("weather.sbp") which can be viewed in a text editor, or in Basic4PPC
[Windows Mobile Apps and Games] OceanSpray:
Some improvement cause few trouble

minor bug v.27

Won't take new location (first time loading, need to restart or keep switching location)

Language change English to Spanish will crash P.F. (first time running, second time no problem)

Cache won't delete

keep re-use last cache if all location is empty

Delete first location (is empty) won't go to second location (keep using last cache)

Some language font out line

Sometime freeze on refresh (refresh second time work fine)

Spanish missing " Ñ " in Mañana

Can't read that 5days Forecast need different highlight font. o just me!!

English Check Please :D

Tomorrow, weather, update
[Windows Mobile Apps and Games] digitaldon37:
Thanks for catching these bugs. I made a couple of changes that should keep some of what you described from happening.

Version .28.1 is uploaded to the main post

You can no longer delete the first location (you can still change it). When a program encounters a bad location or just loses it (this is happening for some reason - can't figure it out - it's an old bug) then it defaults to "77095" if it can't default to the first location.

I fixed the English & Spanish language files, I haven't been able to recreate the crash, and I made the font smaller so that hopefully it fits in the label.

This is part of error recovery that I built in - if it can't read the cache that it is supposed to read, it reads the last one that it knows of. Usually hitting refresh will correct it.

I think this is when it is trying to download from Yahoo weather and times out. I'm still trying to make this more robust

I made the font smaller so that the other languages fit, but you are right it does need different font. There is so much different text that I would want to high-light, I am looking to see if the programming language B4PPC will let me change fonts or if I need to create HTML and display this on a browser control. This is definitely on my to do list.

Hopefully .28.1 fixed most of these bugs and is more stable. Thanks for testing and the feedback.
[Windows Mobile Apps and Games] digidigi123:
Verry nice update, thanks for your work!!

It's possible, to include also weathericons into the forecast page?

digidigi123
[Windows Mobile Apps and Games] OceanSpray:
Let's iron those bugs and typos

Minor Bug:

language selection need save and change. not pick and load

entering language kinda lag or slow

Minor Typos:

Español

Sabado = Sábado

Manana = Mañana

Refresh = Refrescar or Actualizar (unsure for this one, i prefer Actualizar)

Viento chill = Viento frío

There r 2 barómetro and missing Visibility = Visibililad

Salida del sol = Amanecer (can change to, prefer Amanecer)

Puesta del sol = Anochecer (can change to, prefer Anochecer)

Abr. high H = Alto A or Máximo Máx (prefer A, but seem most go Máx)

Abr. low L = Bajo B or Mínimo Mín (prefer B, but seem most go Mín)

new idea:

need flag for language

i see no point getting twice stuff

1. File "Setting, Location, Language" (just prefer Settings for all)

2. On top " Location, ETC"

remove the big icon EXIT (i think will save something for later)

Future, can be bottom-top big icon to change Weather Location City (sry can't find better icon)

UPdate time

Future, need icon resize for Today and Tomorrow

image or icon clean up

txt clean up

be kind to fix my ID on ur thread

PS Pocket Forecast is getting SUPERB
[Windows Mobile Apps and Games] digitaldon37:
Yes, I've downloaded some icons and started working on this. I think I may put something together like SPB weather detail.
[Windows Mobile Apps and Games] digidigi123:
Great news, can't wait for the new update.

digidigi123
[Windows Mobile Apps and Games] digitaldon37:
Thanks! More good suggestions. I won't have time to work on any of this today but here are my plans:

1. Work on the current and forecast details page to be more visual

2. Move the radio button navigation into the menu bar for the details page and for settings

3. Fix Spanish language file

Thanks for the compliments - it's good because of the suggestions and feedback from everyone.
[Windows Mobile Apps and Games] digitaldon37:
Version .30

Version .30 has been posted to the main post. Changes were made to the current & forecast details page (more visual)
[Windows Mobile Apps and Games] digidigi123:
Love the new look, now it's nearly perfect. Small and fast!

In the forecast page, it's very hard to read the date and weekday, because the font are very small.

Great job, thanks

digidigi123
[Windows Mobile Apps and Games] digitaldon37:
I increased the font from 6 to 7 and reuploaded - please let me know how that reads.