HTC Touch Weather Hack, Windows Mobile 6 (WM6) Smart Phone, AccuWeather
Setting up the weather for your city can be a real bitch with these. The best method is a registry hack. Before you go with the registry hack, I've put together this easy step to check if the HTC weather at AccuWeather even supports your city, because if it doesnt, the registry hack will merely give you some other locations weather and call it your cities weather, all of the tutorials on the internet fail to mention this important fact.
Here ya go:
1 - go here:
http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=X|X|X|X
2 - Enter your LocCode in the url (replacing the X's), for example, the closest working one to my city is the Kelowna BC Code (NAM|CA|BC|KELOWNA), First section is Geographic area, NAM = North America, CAM = Central America, SAM = South America, etc. The second section is country, in my case its CA(Canada), the next is state/province, mine is BC for British Columbia, and lastly is city name, in my case the closest HTC supported city is Kelowna. Once you have your LocCode in the url, hit enter.
You will see one of two things:
If your city is NOT supported by the HTC Accuweather server, you will see this:
<weather>
<copyright>2008 AccuWeather, Inc All Rights Reserved.</copyright>
<usage>HTC Pocket PC Weather Forecast</usage>
</weather>
If your city IS supported, you will see something like this:
<weather>
<location name="KELOWNA" country="CANADA"/>
<localTime>9/26/2008 10:03:03 AM</localTime>
−
<current>
<temp c="8" f="46"/>
<condition icon="01">Sunny</condition>
</current>
−
<forecast>
−
<day number="1">
<name>Fri</name>
<date>9/26/2008</date>
<condition icon="03">Partly sunny</condition>
<high c="19" f="66"/>
<low c="4" f="40"/>
<winddir direction="N">0</winddir>
<windspd kph="3" mph="2" mps="1"/>
<uvi>3</uvi>
</day>
−
<day number="2">
<name>Sat</name>
<date>9/27/2008</date>
<condition icon="03">Partly sunny</condition>
<high c="18" f="64"/>
<low c="4" f="40"/>
<winddir direction="SSW">202.5</winddir>
<windspd kph="11" mph="7" mps="3"/>
<uvi>3</uvi>
</day>
−
<day number="3">
<name>Sun</name>
<date>9/28/2008</date>
<condition icon="02">Mostly sunny and warmer</condition>
<high c="23" f="74"/>
<low c="8" f="47"/>
<winddir direction="E">90</winddir>
<windspd kph="3" mph="2" mps="1"/>
<uvi>3</uvi>
</day>
−
<day number="4">
<name>Mon</name>
<date>9/29/2008</date>
<condition icon="01">Sunny and warm</condition>
<high c="25" f="77"/>
<low c="9" f="48"/>
<winddir direction="ESE">112.5</winddir>
<windspd kph="4" mph="3" mps="1"/>
<uvi>3</uvi>
</day>
−
<day number="5">
<name>Tue</name>
<date>9/30/2008</date>
<condition icon="01">Sunny and warm</condition>
<high c="24" f="76"/>
<low c="7" f="44"/>
<winddir direction="SE">135</winddir>
<windspd kph="3" mph="2" mps="1"/>
<uvi>3</uvi>
</day>
</forecast>
<copyright>2008 AccuWeather, Inc All Rights Reserved.</copyright>
<usage>HTC Pocket PC Weather Forecast</usage>
</weather>
It is very easy to see the difference between supported and not supported, no?
Now, if your city IS supported AND does not show up in the HTC home weather settings, you can do a registry hack and force it to show your weather, BUT ONLY IF YOUR CITY IS SUPPORTED LIKE THE ABOVE EXAMPLE!
Registry Hack:
1 - Download a registry editor, I used this one. (its a cab, download and install on your device)
2 - Load the task manager, go to the top right menu and click on RegEdit at the bottom of the menu.
3 - Browse to "HKEY_LOCAL_MACHINE\Software\HTC\HTCHome\Weather\Settings"
4 - Change Location and Location Code to your city's info (you should have this info by now!)
5 - Now your changes should take effect immediately, no need to restart your device.
Enjoy.