PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-21-2008, 08:30 PM
jtmccaig89's Avatar
Lurker
Offline
Pocket PC: HTC Touch
 
Join Date: Jul 2008
Posts: 2
Reputation: 5
jtmccaig89 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
[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.
  #2 (permalink)  
Old 03-14-2009, 11:33 PM
middah's Avatar
Lurker
Offline
Pocket PC: htc diamond
Carrier: telus
Location: ontario
 
Join Date: Nov 2008
Posts: 4
Reputation: 20
middah is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to middah
Re: [AccuWeather][Mobile Phone][HTC Touch] Local Weather On <Anon>'s Cell

location code was wrong. sault ste marie is NAM|CA|ON|SAULT STE MARIE. at least thats what worked for me
  #3 (permalink)  
Old 03-14-2009, 11:35 PM
guitardoc64's Avatar
CBM Ultrasonic Specialist
Offline
Pocket PC: Samsung Galaxy S4 (Sprint)
Carrier: PPCGeeks-I just pay Sprint for the phone part
Location: Lake Charles, LA
 
Join Date: Jun 2007
Posts: 2,280
Reputation: 3163
guitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIPguitardoc64 is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to guitardoc64 Send a message via Yahoo to guitardoc64
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
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:14 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com