This is a weather forecast applet for the Norwegian national weather forecast webservice yr.no. Please visit yr.no for information on the forecast. They have forecasts for a number of locations around the world and they come in english as well
The current version is VGA only as I do not have a QVGA unit to test on
The first page shows the next weather forecast period.
The title is the current town
yr.no does not provide current weather so this is the next period. (date and time is shown under the current town)
The applet shows the weather icon, temperature, wind speed and direction, pressure, precipitation and sun up/down
The small icon in the upper right hand corner is to refresh the weather forecast
An auto update function is available. More on this later
Clicking the yr.no logo will take you to the yr.no page for the current town (mobile page at m.yr.no)
Clicking the weather icon will take you to the next page
This page shows the weather forecast for the next 5 days (the 12:00 to 18:00 period for each day)
The icon in the upper right hand corner takes you back to the first page
Clicking on any of the small weather icons takes you to the detailed forecast for the respective day shown below.
Setup:
Unfortunately, there is no xml search page on yr.no for adding towns
The only way is to edit the locations.xml file
Edit the existing items or add more (don't know how many the list page can use).
ID- Just use numbers in sequence
Name- The name of the town shown in the applet
loclink-the link of the weather forecast from yr.no. Just copy from the url field in the browser
Click the title field with the name of the town to get to the select location page shown below.
The settings.txt contains one user editable value: AutoUpdate.
If set to 0, no automatic update is done
If set to 1, the application will check if a new update should be ready. The forecast xml file contains a time for next update which the applet checks against when activated (No timers)
I have included one english terms.xml and one norwegian. The screenshots are taken using the norwegian terms
The applet is currently made for the WM7 theme
Comments and suggestions would be appreciated
Edit: Added QVGA graphic files. Extract zip to overwrite VGA files
Edit: Added new version plus pngs for vga and qvga 11. June 2009
Edit: Replaced cs file with bugfix as in post #47
Edit: Added v1.6. Description of version in separate post
Edit 21. June 09: Added 1.6 with all files for VGA. QVGA can use the old qvga.zip file with grapgics for QVGA
