|
|
LinkBack | Thread Tools | Display Modes |
|
||||
[AccuWeather][Mobile Phone][HTC Touch] Local Weather On <Anon>'s Cell
My <anon> just got an HTC Touch and I'm trying to help them get local weather on the home screen. The phone only allows you to select from major cities, but numerous guides [gizmorepublic.com] show you how to use the Windows [Mobile] registry to select a more specific city. I figured this would be easy, since I use the Forecastfox Firefox addon, which uses the same weather service, AccuWeather.com, but the code doesn't seem to be working for our city...
The LocationCode for the desired city is "NAM|CA|ON|SAULT SAINTE MARIE" ("Sault Ste. Marie, ON, CA"). When I enter this in the phone's registry, however, we get the following message when refreshing weather information on the phone: Unable to retrieve data for selected city. Select here to retry. Oddly, I find the same is true for "Sault St. Marie, MI, US" (i.e. "NAM|US|MI|SAULT SAINTE MARIE"), which is just across the border/river... We've tried "Guelph, ON, CA" AKA "NAM|CA|ON|GUELPH", the city used in the linked guide, and it worked fine! I notice that there are a couple of fields that change with the city, however, and I'm not sure what their relationship is to the LocationCode. The following is some data that we've collected from trying various cities. CityIndex: 561 Location: Chicago, US LocationCode: NAM|US|IL|CHICAGO CityIndex: 775 Location: East York, CA LocationCode: NAM|CA|ON|EAST YORK CityIndex: 1560 Location: Las Vegas, US LocationCode: NAM|US|NV|LAS VEGAS CityIndex: 2875 Location: Toronto, CA LocationCode: NAM|CA|ON|TORONTO If anybody has more in depth knowledge of AccuWeather perhaps you can explain why it wouldn't work for our city? Every other city we try seems to work fine (aside from our twin American city)... |
This post has been thanked 1 times. |
|
||||
Re: [AccuWeather][Mobile Phone][HTC Touch] Local Weather On <Anon>'s Cell
Check out this thread. Conflipper and I built a custom database to get local weather.
http://forum.ppcgeeks.com/showpost.p...15&postcount=1
__________________
Former Windows Mobile enthusiast and developer, now a modder working on Android. I still have my PPC 6700 and HTC Touch, but I'm rocking a OnePlus 7 Pro
|
|
|
|