View Full Version : Adding a new city in the weather tab WM6.1
cardmammy
26th November 2008, 12:00 PM
Hello, does anyone know how to add a city that is in the Accuweather site, but is not on the standard cities in the weather tab on the WM 6.1?? I would like to have the weather for Atyrau, Kazakhstan addes to the cities list...
HELP!!!! thanks in advance!!!!:)
Imyman
26th November 2008, 04:12 PM
Hi,
Changing the weather on your HTC to map a city that is not listed is a little tricky....and well...sometimes these attempts are unsuccesful. You've basically got two options:
Method 1: Mask the closest city to show your weather
+++++++++++++++++++++++++++++++++++++++++
Software required: PHM registry editor
- First you need to find take a look at all the available cities and find out which is the city or town closest to yours geographically. I'm going to pick say 'Astana' since its already available.
- Select this city and set it as your preferred location.
- Now lauch PHM registry editor and navigate to the following location:
HKEY_LOCAL_MACHINE/Software/HTC/HTCHome/Weather/Settings
WARNING: ALWAYS BACKUP YOUR REGISTRY BEFORE MODIFYING IT!
-Now Under settings find dword 'Location'
-Modify it and type in Atyrau, KZ
-Hit ok
Voila! Now your today plug in will show you weather for your city! :D
Method 2: Manually enter your cities name in the HTC today plugin
+++++++++++++++++++++++++++++++++++++++++++++++++
This method is a little complicated and I wouldn't recommend this for newbies:
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
Your gonna need the following software:
1. Total commander
2. Pocket Hosts
Both are freeware and can be downloaded.
- If your ROM supports it, you can edit the HH_0407_WeatherCities.xml (you'll find this under the windows directory)
- Clear the read-only check box for the file.
- Using total commander navigate to the file and click on file-->edit.
-Insert a duplicated line of xml code and change it to look exactly like this:
<city name="Atyrau, KZ" loca="ASI|KZ|KZ005|ATYRAU" land="Kazakhstan" />
- Save the file now and close it.
- Now start pocket hosts and click on 'add'
- Under Host Name type: htc.accuweather.com
- Under IP Address type: 64.62.158.108
- Hit ok.
Soft reset your device then activate the plug in for Atyrau. Enjoy :cool:
Additionally you can take a look at the following thread:
http://forum.xda-developers.com/showthread.php?t=312795
Good Luck!
cardmammy
8th December 2008, 06:37 PM
Unfortunately Total Commander says "out of memory" only 64KB files supported... when i try to edit the Weather "HH_0407_WeatherCities.xml" file.... why is this happening?
Can you help please?
Imyman
10th December 2008, 10:19 AM
I guess your rom wont allow you to make this change. This happens in certain types of roms. Have you made sure you unchecked read only under file attributes?
Try copying the weather xml file onto your desktop via activesync and make the changes on your desktop version and save it. Then rename HH_0407_WeatherCities.xml on your phone and save the desktop version of the file onto your phone under the default windows directory. Again this step wont work on all roms. Most of them wont allow you to change the name of a file. If that happens, its another dead end.
Use method 1, unfortunately I guess that's the closest you can get.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.