![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack (2) | Thread Tools | Display Modes |
|
||||
|
Hi digitaldon37,
I had a look at your program, very nice and interesting. One suggestion would be to insert somewhere the link to Yahoo! Weather where the user can find its location(s) from all around the world. I tried some locations from Europe, works fine. In your code you should add a test if WeatherCurrent.code = 3200 3200 is the unknown code, this code is sometimes given for certain locations. And in this case, in the Sub SetMainPage routine, line imgCurrent.Image=AppPath & "\themes\" & INI.themeDir & "\conditions\" & WeatherConditionImages(WeatherCurrent.code) generates an error. There does also exist a condition code 0 (tornado), you shoud add an image 0.jpg for this code. The images in your last version look nicer to me than those from the nws. Didn't you have a link for their images in your first post ? Best regards.
__________________
Klaus Switzerland |
|
|||
|
Quote:
I haven't decided exactly how to let the user find their location id yet. I am thinking of added a new program form with agraham's webbrowser library and inserting the Yahoo page (there doesn't seem to be a web service available) and to capture the result. The original icons (before I grabbed the Yahoo icons) I think I got from here: Weathericons - Weatherstation Salo, Halikko, FI. I was going to go back and put together a post on how to change the theme and weather icons. |
|
||||
|
Hi ,
From what I remeber, when I loaded your program the first time there were no icons. And there was this link Weather Element List and Suggested Icons - NOAA's National Weather Service to download the images. The link in your post doesn't work. In googeling I found thos one Weatherstation Salo, Halikko - Weatherstation Salo, Halikko, FI and then click on Weathericons Best regards.
__________________
Klaus Switzerland |
|
|||
|
Quote:
![]() |
|
|||
|
Developer's version .25 has been uploaded to the main post. This version contains the location look-up code that Klaus generously provided.
I am going to try to wait at least a week before adding any new enhancements. This will give me enough time to test this thoroughly. Thanks to everyone for their help and feedback. |
|
||||
|
Hi digitaldon37,
In the location search part of the program you should change one line. Code:
Sub cbxCountry_SelectionChanged (Index, Value)
Dim txt
cbxCity.Visible=True
RegionI=Index
txt="http://weather.yahoo.com/"&AL2.Item(Index)
WebRequest(txt)
BrowseSubRegional
If cbxCity.Count > 20 AND StrAt(cbxCity.Item(0),0) = StrAt(cbxCity.Item(cbxCity.Count-1),0) Then
cbxAlphabet.Visible = True
cbxAlphabet.SelectedIndex=0
Else
cbxAlphabet.Visible = False
End If
End Sub
Unfortunately for Estonia there is only 1 city list but the first and last city names begin with the same character. Best regards.
__________________
Klaus Switzerland |
|
|||
|
Quote:
|
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.basic4ppc.com/forum/open-source-projects/3323-pocket-weather.html
|
||||
| Posted By | For | Type | Date | |
| 1800 PocketPC - Pocket Pc Freeware and Windows Mobile 6 Software - Part 2 | This thread | Refback | 11-24-2008 11:40 AM | |
| Pocket Forecast [v.25] (formerly Pocket Weather) - xda-developers | This thread | Refback | 11-17-2008 10:17 PM | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another Pocket Wiki | digitaldon37 | Open Source Projects | 4 | 12-30-2009 02:12 AM |
| Personal Pocket PC Wiki | tsteward | Open Source Projects | 133 | 02-24-2009 10:01 AM |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 07:53 PM |
| print class for pocket pc | tanrikuluahmet | Basic4ppc Wishlist | 1 | 10-01-2007 09:10 AM |
| Weather web service using HTTP | lost2 | Share Your Creations | 3 | 06-10-2007 02:40 PM |