Add Cities to AccuWeather - 8125, K-JAM, P4300, MDA Vario ROM Development

Hello to everyone, i`m a newb here but i`ve found a way tho add new cities to AccuWeather. I´ve just upgraded my phone to TNT.20273 Series "BETA" (Vanilla/Official/Professional), and one if the thigs that i would like it`s to have my city on it, So searching in this forum and in the internet i found a simple way to do what i whanted.
I find the file on my phone called HH_0409_WeatherCities.xml that is in the windows directory copied to my computer opened with notepad, be carefull that it`s read only you have to take this protection off go.
"Then go to accuweather.com and search for your city. In the url in the address bar, after it says .com, there will be a section that goes something like /us/”state name”/”city name”, where state and city names are the names of your state and city. If you live in the US, you location code will begin with the prefix NAM and will be like this: NAM|US|”state name”|”city name”. Europe’s prefix is EUR and will be like this EUR|”country name”|”country area”|”city name”. It is similar for other continents and countries" (thanks to this forum for this part)
And i`ve added a new comand line similler to another that i have from my country
Ex: <city name="Leiria, PT" loca="EUR|PT|PO011|LEIRIA" land="Portugal"/>
the original was:
<city name="Lisboa, PT" loca="EUR|PT|PO012|LISBOA" land="Portugal"/>
Close notepad put the permitions on read only, see in your phone if the program (accuwather) is working or not on task manager, copy the file you have just made to the windows directory on your phone replacing the one that exists, soft reset and it`s done. It worked on my Wizard.
For security if something goes rong it`s better you make a backup of the file , in case you do something rong.
Hope it helps

On accuweather.com I can't find in the address bar the right code ...
I need the city: GAETA but if i search this siti the result is this in the address bar: accuweather.com/it/it/lazio/gaeta/quick-look.aspx?cityid=213297
Why????

same for me. I couuldnt see the country and city code in the url bar

Related

phone number format

Hi,
I have a vague memory of a setting for my Magician (win mobile 2003) where one configures the phone number format to not use parantheses in random places (as if they were north american area codes). I would like to place dashes and parantheses where I like!
Any tips... ?
look if the regional settings is set correct
thanks, that helped it, I had it set to a tweaked US setting.
Does anyone know, btw, where the regional settings are located in the registry... ?
Regional settings are taken from a file called wince.nls, not from the registry.
You can however put overrides in the registry to replace some of the nls settings.
Search this forum for nls override, there was a big post on all available strings to put there.
The key to look at is:
HKEY_LOCAL_MACHINE\nls

Is it possible to change network name?

Hello.
First I want to say thank you to everybody, because I learned so much with this forum, and specially to all "ROM cookers".
Because I don't know very much about ROM cooking I want to ask if it is possible to change the network name that appears on the HTC Universal, because it is an old name, it shows as "UMTS Xfera" and the comercial name for that network is "Yoigo". I don't know if it so much work or if I can do it myself, but I don't know which file I should change.
And one more thing, I have been looking to create a .CAB file with my operator settings without luck because I only get some of the settings (I used a .CAB file for an other operator changing the settings) but no the full configuration, is there a "how to" to create the file?
Thank you in advance.
Regards.
yes, i just cant remember, google it.
Thank you Midget_1990, after a while I found how to modify it, you have to add an entry to the registry with the operator and network code (CCCOO) and the name you want to be shown on HKLM/Software/Microsoft/RIL/OperatorNames.
I have posted it here for anyone who needs it.
I will continue looking for a CAB file with GPRS & MMS settings for my operator.
Regards.
Ok so How you do it ?
Here you have the instructions (from Modaco Wiki):
-----------------------------
Customize operator's name
To show specified operator name set
HKLM\SOFTWARE\OEM\PhoneSetting\ONSDisplayRule=0 (DWORD decimal)
And then at
HKLM\SOFTWARE\Microsoft\RIL\Operator Names
add the code and the name to display. The value is 5 digits "CCCOO", where CCC is 3-digits country code, and OO is 2-digits operator's code. For example:
"25099"="BEE LINE"
For country and network code, go to wikipidea for [mobile country code|http://en.wikipedia.org/wiki/Listofmobilecountrycodes] and [network code|http://en.wikipedia.org/wiki/MobileNetworkCode]
To show operator name based on the SIM card used (eg for cases where dual SIM adapter are used), set
HKLM\SOFTWARE\OEM\PhoneSetting\ONSDisplayRule=1 (DWORD decimal)
For my dual-SIM adaptor, when I switch between SIMs, the phone with default settings showed always one and the same name, until I reboot the device. Then, it was not able to retrieve operator's name from one of the SIM cards I use. Probably it is an adaptor fault. But anyway, after I changed ONSDisplayRule to 0 and set more up-to-date names for operators that I use, I now always see the name of the operator of the chosen SIM.
-----------------------------

XML files ????

Please bear with me if this is not the correct forum, but I have what is likely a simple question (I know nothing about XML).
I want to include the local weather for Charlottesville VA on my Alltel HTC Touch which is running WM6.1. I copied the HH_WeatherCities file over to my laptop, opened it in notepad and made the following changes to the file:
I looked up Richmond VA and replaced Richmond and RICHMOND with Charlottesville (this follows Accuweathers naming convention)
<city name="Charlottesville, VA, US" loca="NAM|US|VA|CHARLOTTESVILLE" land="United States"/>
I then saved it with File type set to "All Files" and with UTF-8 as the encoding type.
The xml extension is intact.. Is it really as simple now as replacing the present file in my phones Windows folder with this one?? Or could I have damaged the XML file with Notepad.
Thanks for the help from a hopeless beginner in these matters.
nessmuk53 said:
Please bear with me if this is not the correct forum, but I have what is likely a simple question (I know nothing about XML).
I want to include the local weather for Charlottesville VA on my Alltel HTC Touch which is running WM6.1. I copied the HH_WeatherCities file over to my laptop, opened it in notepad and made the following changes to the file:
I looked up Richmond VA and replaced Richmond and RICHMOND with Charlottesville (this follows Accuweathers naming convention)
<city name="Charlottesville, VA, US" loca="NAM|US|VA|CHARLOTTESVILLE" land="United States"/>
I then saved it with File type set to "All Files" and with UTF-8 as the encoding type.
The xml extension is intact.. Is it really as simple now as replacing the present file in my phones Windows folder with this one?? Or could I have damaged the XML file with Notepad.
Thanks for the help from a hopeless beginner in these matters.
Click to expand...
Click to collapse
Yes, that's fine
I normally copy and paste a line and edit the new one with my town using notepad (or notepad++ ).
XML files are just plain text.
EDIT: also moved to Q&A forum
Ta
Dave
Thanks Dave for the very quick reply.
Bob

Help localizing a program - drop down boxes won't open after editing

Hello,
I'd like to ask for some expert help with editing the resources of the EXE file of a piece of software. The application's name is NetChanger, it's Japanese, and I am editing it using XN Resource Editor.
I am having the following problem: if I rename (from JP to EN) any item on an expandable menu or the label of a drop down box, the same will no longer open. When restored to its Japanese text, the drop down works as expected.
For anyone caring to take a look, please download and open attached file (only XN Resource viewer shows Japanese text normally, all other editors show ?????).
Example - the main menu, or tap "Register" > General Wireless (ticked) > Next -- on the screen that opens, if I edit anything on it, even not the label of a drop down box, but say the TCP/IP Settings button - none of the drop downs works anymore.
Note: simply place folder anywhere on your pocket and start the program, it will work.
Sorted
It seems XN Editor was causing the problems. So I worked with it to show me the Japanese text but made the changes in PE Explorer and the program was OK.
I have created an install file that will install the English version to the device, although some bits are still untranslated, while others I simply did not understand the meaning of, so it is just what the machine translation produced.
If anyone is interested, test it and let me know if you have any suggestions or comments.
The install file will show the Agreement garbled - just tap the LEFT button to agree.
It says something about a trial from 2006 until April 2009 - this could be the reason why the Connect / Disconnect buttons are greyed out, but otherwise it seems like a decent piece of software.
I have included a machine translated Help file in the ZIP - replace the file in Windows directory with it, if the JP file is installed there.

Add cities to weather

Hello!
I need add other cities the weather tab of TouchFLO.
I m not able to add my city which is not in the list
Is there any Solution to manually add Cities?
Thanks
I would like to know to because there are a lot of citys are not on the list eg. Tauranga in New Zealand
http://forum.xda-developers.com/showthread.php?t=439399
will try now but.. use search !
Here is a simpler method.
1. Install CYBERDE Manila2D WeatherCities Editor_1.2.1 (Cab file attached below) to add whatever city you want to the database. I downloaded this cab more than a year ago from some thread of Elf/Elfin and still works like a charm on my Mega.
2. You'll need the Accuweather code of your city in the above editor, which is in this form "NAM|US|NY|NEW YORK" (for USA) and "EUR|IT|IT005|MODENA" (for other countries). To find the code for your city, go to http://www.accuweather.com/rss-center.asp, input your city name in the field "Choose a Location" and you will find the accuweather code in the field "Current Conditions & Two-Day Forecast URL". The code for Tauranga, for example, is OCN|NZ|NZ000|TAURANGA
3. Enjoy.

Categories

Resources