Diamond Weather Custom City - Touch Diamond, MDA Compact IV General

How do you set a city that isnt in the default list?

afaik you can only use the cities covered by accuweather.com, and i think they are all included as default.

Can anyone please tell me if you can also see a wether forecast on the weather tab or does it only show you the current weather?

I don't have the device yet, but all the screenshots I've seen of the weather page show a soft button (bottom left of screen) option called 5 Day. I'm assuming that's the forecast view.

Darrenives said:
I don't have the device yet, but all the screenshots I've seen of the weather page show a soft button (bottom left of screen) option called 5 Day. I'm assuming that's the forecast view.
Click to expand...
Click to collapse
It is the forecast view indeed. Gives you the Hi and Low temps forecasted over the next five days with the right weather icon.

Thanks... now only waiting for the pro to be released... I am so tempted to get a Diamond. But then again, I want a higher battery capacity, the flash with the camera, more RAM, microSDHC slot... ehm and keyboard

Accuweather covers every city in the world, the database for the HTC only has major cities, in this case the ones in all the states. I live in Hickory, NC. Is there any way to get this by editing the database or some sort of update?

That depends entirely on where the weather data is coming from. If it's straight from Accuweather, it may be possible to do a registry edit or something similar to get the weather for other cities. However, if the data is retrieved from HTC, it probably won't be possible as they'd only bother processing the data for the cities available on their devices.

I'm guessing/hoping that it'll work alot like the Touch so you'll be able to show your local area through amendments in the registry as noted above and in the following link:
http://blog.commsconsulting.co.uk/2007/07/26/local-weather-on-the-htc-touch/

Ah, well, I'd say that the Touch Diamond would be very similar to the Touch, so a similar registry edit should work.

Jersey is listed on AccuWeather but I can't find it on the diamond
http://www.accuweather.com/world-in...er&locCode=EUR|JE|JE---|SAINT HELIER&metric=1
Having a look for the reg key now, if anyone has found it already let me know!
- HKCU\software\htc\manilla

I Tried changing the registry to my city, but for some reason it goes to 6 cities all in asia?

Same thing happens when I change mine.
I thought it was because I was having to guess some of the Jersey code as it displays as EUR|JE|JE---|Jersey on the accuweather side but it looks like there is more to it.

My city is spelled wrong at the device.
Acuweather has it ok.
How do I fix that?
K

EUR|JE|Jersey would likely be Jersey in the Channel islands in Europe.
Wouldn't it be a bit more like USA|NJ|Trenton or something similar for a city in New Jersey????

Yes it would be for Jersey in the Channel Islands - that's where I am though
Be nice to get it working at some point, look's like there is something else that will be changing as well as just the string value as regardless of the value used it resets to 6 cities afterwards

Bad news
Hello guys,
I've managed to add a custom city to manila, but the bad news is, that manial will crash when it tries to download the weatherinformations.
here what I've done so far:
1. xxx_manila-file are SQLite-Database-Files... so get the SQLite Databaseprovider for Visual Studio from Sourceforge
2. Copy the file 2330fc3c_manila from windows-fir to your local system
3. Remove wrtieprotection
4. Open Visual Studio and add a new SQLite-Connection to that file
5. Open the Table "cities"
6. Add the City you whant to add (add one to the maximum id)
7. Close the connection
8. Copy the file to your device's windows-fir and override the existing file (user resco file-explorer)
9. Add the new location to the weather-tab
I will write a little program to edit the db-file soon... so you don't need a visual studio

I'd like very much to have mi city weather. I found the registry key too but if I modify the value with the code of my city it doesn't work, any news? I could try your solution importing the database file etc. but...will manila download the weather informations or still crash. I don't want to only add my city in the list, I want the weather of my city working.
Thank you for now

Hello,
I've tested now some other citycodes... no one worked... manily allways crash. I've no idea whats the problem... the "new city" is entered to the database as any "original". and the accuwaether-site for a city which work and a city which will crash manila are identicaly... sorry guys, but I think we have to live with the original cities.

I'm trying using your solution...I inserted the new row in the database and it's ok, but I can't overwrite the existing file in windows folder. I'm using resco explorer 2008 as you suggested. Any idea?
Thank you very much

Related

U CAN Animate Large weather radars and Sat's

Everyone At XDA has given me so much I feel like I need to Give a little back.
I learned this when I had my treo 650, If you hate the tiny radars and satelite pictures you get on your phone, or don't want to load the whole weather page from your local news site, here is my fix for that.
1) on your computer find the local radar or Satelite that you want on your phone. (if you want animated view, animate 1st.)
2)Move cursor over map and right click mouse. Select properties.
3)High lite the Address (URL) right click mouse copy and paste in an E-mail and send it to your phone.
4) once on your phone you can open the e-mail and just select the URL address and your browser will load it. Save it to favorite's and you got it.
You only have to do this one time is seems that updates and changes are automaticaly saved to the same URL address.
5)the following web sites I know work where I am. P=Pic/A=Animate
Wungerground.com (P&A)
Accuweather.com (P&A)
bigblue marble.com (P&A)
Intellicast.com (P)
(intellicast and big blue marble sat's photos are huge(date size) but pretty and detailed)
Noaa Radars USA (Use Standard Version link below NOAA Emblem) (P&A)
National Hurricane Center Sat's (P)only
Localwireless.com USA (P&A)
I used them during the 2005 hurricane season and was well informed
Try your locals and nationals good luck' Jami J
Java loads and Flash will not work on my phones (TREO 650) Or (TILT)
dose anyone know how to make them work?
Nice tip, thanks. I check Weather Underground every day on my PC but hadn't thought to try it yet on my Tilt.

Weather PlugIn on HTC Home Page not updating.

The weather plugin is not updating on my tilt. I keep getting "Unable to retrieve data for selected city." Has anyone figured out how to fix this problem?
I've seen that too -- it's failed when connected to two different WiFi networks, so I think the problem is on the server end (accuweather.com, IIRC).
Good to know!
Same here, this morning I couldn't connect. Yesterday it was working fine, but last night I loaded in a new 'power status' application... Good to know it's not something I did!
Same here on my AT&T Tilt since Sunday night.
Mine just started this morning. Accuweather's site is working fine but since I'm not the only one it must not be my phone or connection.
I'm in the process of reading through and trying this fix:
http://forum.xda-developers.com/showthread.php?t=319187
The HTC home apps floating around have been modified so that they use a custom city database that spawns your requested city's forecast. This is done via a weather server that's owned not by HTC or accuweather, but by a private person (he's a member on thee forums, N2A).
N2A recently made changes to the way the data is pulled from his server. No longer can it use the modified IP-based hosts entries (which is what it was doing before).
The best way to get weather working again is to install N2A's patched home plugin then add the city to the XML per his instructions.
I used the patched Schen 2.1 HTC Home plugin and it works awesome again.
http://forum.xda-developers.com/showthread.php?t=319187
Why are we using his server instead of downloading from accuweather?
decimusmaximus7 said:
Why are we using his server instead of downloading from accuweather?
Click to expand...
Click to collapse
This plugin was made by HTC but never really intended to go to US market. The setup between accuweather and HTC only allowed for certain cities, and only a limited number of US cities are in the orignal database. The accuweather data just isn't there for all cities, I've tried following the syntex in the weather XML file and tried adding my home town. It just wouldn't work. So N2A modified the code int he plugin to point to his server. HTC Home Customizer does the same thing, when using the custom db, it redirects the request to N2A's server first.
N2A has made some changes and the old method is no longer working. You have to download one of his recently patched home plugins and enter the city zip code into XML file as instructed.
Ok I deselected my HTC Home in the Today settings and then downloaded "For other devices: UPX compressed" from http://forum.xda-developers.com/showthread.php?t=319187.
This is Schen's 2.1 with N2A weatherpatch. After this install I am able to add my custom city with HTC Home Customizer 1.0b without having to edit the XML files.
Just thought I'd share my success.
I had this same problem but that was from installing HTC Home Customizer. After I uninstalled HHC it still did the same thing. I had to hard reset and start from fresf again to get my weather working again. Does anyone using HHC have that same problem or did I do something wrong?
Could the program point to another server???
Could the software point to another server? ie:www.weather.com
www.nws.noaa.gov
www.accuweather.com
weather.yahoo.com
Hello, with the same problem since installing HHC.
ok people, this is an easy fix.
Uninstall prior versions, install the 2.1 version, find the weather XML file in \htchome directory, save the file to your PC, modify the file with the proper cities you want, goto the weather tab, click on the city and pull the new city you just added to the XML file. DONE!
It can be done in 5 minutes or less. This si not the fault of N2A nor the author of HHC. There's just been a change of the way the data is acquired, this was done to help users of certain networks to be able to use HTC Home.
Thank you smittyofdhs,
but "install the 2.1 version", of HHC ? or htc home plugin?
yeantbron said:
Thank you smittyofdhs,
but "install the 2.1 version", of HHC ? or htc home plugin?
Click to expand...
Click to collapse
No problem....
2.1 of plugin
HHC is only at ver 1.0b5
-Smitty
Newb trying to help!
Ok, here's the weather fix that worked for me. I am Currently using Dutty's TouchFlo Hybrid No.2 Final and HHCv.10b5 on my Tilt.
The following info was derived from N2A's post HERE. I just wanted to provide the instance specific fix for as it seems this might be a popular configuration. Hope its a good first post! Again this is what worked for me!
Pre-fix measures: In the HHC program be sure the weather database is set at Default.
Fix:
1) Install sdkcerts.cab to your device. Soft reset. (not sure if you have to reset but thats how i did it)
2)Install KaiserHTCHomeDLL.CAB. (Thanks N2A) This users post can be viewed HERE, This is the user that runs the weather server and has created the fixes. I belive! Much Credit to them.
3)Browse to My Device\WINDOWS\HH_0409_WeatherCities.xml. Activesync and Copy this file to Your Desktop Pc. If your having trouble seeing your Windows Directory from your PC start file explorer from your device and browse to the HH_0409_WeatherCities.xml file. Copy the file to My documents on the device then copy the file file to the PC.
4)On the PC, right click the HH_0409_WeatherCities.xml file. Select "Open With" then "Notepad".
5) In Notepad each location will appear as so. <city name="Atlanta, US" loca="NAM|US|GA|ATLANTA " land="United States "/>
6)Copy one of these lines and paste it directly under the original.
7)Edit the new line to reflect Your City like so. <city name="Your City, US" loca="xxxxx" land="United States "/> (xxxxx represents the Zip Code of the city your adding)
You can add more than one city if you choose.
8) Save your changes.
9) Replace the current .xml file in my documents with the one you just edited.
10) From your device, Open Total Commander then open the My Documents folder, browse to the HH_0409_WeatherCities.xml and select the "Copy/Move" option. Press the "Tree" button, highlight the Windows folder, press OK then press the "Move" button followed by the "Overwrite" button. Close Total Commander.
11)Select your city by going to the weather tab, and clicking on the area below "Weather". Choose your local town/city from the list.
12) Soft Reset.
Notes: The "US" inside the city name section of the .xml file can be changed to represent your state two letter postal code.
If your not using this configuration or just want more info you can visit N2A's post HERE.
Much thanks to all the pros that make this possible!
decimusmaximus7 said:
Ok I deselected my HTC Home in the Today settings and then downloaded "For other devices: UPX compressed" from http://forum.xda-developers.com/showthread.php?t=319187.
This is Schen's 2.1 with N2A weatherpatch. After this install I am able to add my custom city with HTC Home Customizer 1.0b without having to edit the XML files.
Just thought I'd share my success.
Click to expand...
Click to collapse
thanks for your post. i followed your instructions and it works just like it used to before the problem.
Anyone having problems with SPB Weather not updating either? It never gets to the forecast. Worked fine before I installed the cut-down no-bloat Tilt ROM from 11/30.
This works http://forum.xda-developers.com/showthread.php?t=319187

HTC Weather, problem & fix

I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
The first mistake was editing an XML file with wordpad. Try using Komodo next time. Always use the proper software for certain editing functions.
Heres a link to the Freeware Komodo XML Editor.
http://community.activestate.com/products/Komodo
didnt I say that
SpiritOne said:
I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
Click to expand...
Click to collapse
Next time use notepad that is what i use...also the XML file is in my download section go there and download it open it in notepad and edit then move it into the windows folder...u should be good to go..
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Genesis3 said:
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Click to expand...
Click to collapse
I am not sure what you are asking...I just added my city like MOD Scotchua said to do and it worked...
http://forum.xda-developers.com/showpost.php?p=2644237&postcount=2366
Aha - I screwed up. Its working now
Spoke too soon..... it KINDA works.
The currnet Manila 2D executable will go back to the top screen (the home page) if you hit the END button twice. It also will mark an incoming SMS "read" if you sit on it on the top page for a few seconds.
The patched one does neither. It will not go back to home unless you navigate there, and SMS do not get marked read.
Is the patch involved (e.g. could I go in with a hex editor and make a change to the CURRENT Manila executable?)
Update to THAT....
I took a quick look at the executables and found the change, with the different URLs. However, it appears the new one is longer than the old, which means that a quick "patch in place" is unlikely to work (I have no idea what's AFTER that block of data - and it ain't zeros, and IS apparent UTF-8 text - so I'm likely to scramble something doing a quick overwrite.)
This in turn implies that you need a way to disassemble the exe file and replace the data, then reassemble it (e.g. to assembler, at least) assuming you don't have source.
So..... anyone have a tool for this or is this a case of "have lots of fun playing with something that can disassemble it, find a clean place in the data segment to put the new reference, and fix it that way" sort of game?
SpiritOne said:
didnt I say that
Click to expand...
Click to collapse
yep... just rubbing it in some more
I wouldn't use notepad either. I'd rather not get into a long discussion about editing xml files with notepad either
An XML editor is definitely the way to go.
Yet another update....
What's with the app here? I patched it with a string that fits using a hex editor.
What I wind up with refuses to run. Are these apps cryptographically signed?
Answer: Yep, and once modified, the signature is no good. I don't see anything in Advanced Config that can turn that protection off either; you can disable the requirement that CABs be signed, but I don't see where you can disable the requirement that APPLICATIONS be signed. My security policy settings are such that all security is off, but attempting to run the patched executable by hand elicits a complaint about the signature being invalid. I presume that a MISSING signature would be ok, but a CORRUPT one is going to get complained about - and I have no means to fix that.
Yet more....
I have found the code-signing tools after rooting around and re-signed the application.
It still fails to work; it appears there is a SECOND call to an HTC web site in the current Manila2D code which is NOT in the other patched file.
That one goes to: http://weather.manila1.htc.com/widget/htc/forecast-data_v3.asp?locCode=
DNS shows the address is a CNAME to htc.accuweather.com, and the worse news is that the replacement string that goes in the other place doesn't fit in there - its one byte too long.
It also looks like THIS is the one being called for updates, because changing the other, direct call to the htc.accuweather.com link doesn't change anything - the codes in the file that refer to places accuweather handles still work, but those that refer to other places do not.
Any ideas?
Final Fix - Read
Ok, here's what I've accomplished.
I patched the Manila2D.exe (the CURRENT copy from HyperDragon and others) and have re-signed the code (with a self-signed cert)
I also grabbed the php script and set it up on a VERY short domain name I registered this afternoon, htcwx.org - it exists ONLY for this purpose and is NOT a generic HTC web site.
I have modified the script as necessary, and the firmware as necessary. The replacement Manila2D.exe file is attached. To implement this simply replace the Manila2D.exe in your \Windows directory on the device with the one in this ZIP file. That's it; you can then add city codes at will in the weather file list and they will work.
The previously-posted version of Manila2D.exe has a couple of bugs that I consider show-stoppers, and patching the current version necessitated having a shorter URL as one of the places required to be patched would not allow the "not2advanced" url to fit.
Note that this weather reflector is being run by me, is OPEN and will remain indefinitely; I have a very high-bandwidth connection and expect no interruption in that service. Feel free to use it.
I now have WORKING HTC weather in Manila for virtually anywhere.... and you can too without the restrictions that existed in the previous patched copy (no return to home screen with the END key, and no SMS message marking)
This script "portal" should also work with any other patched HTC Home or HTC Manila applications; the complete url is http://htcwx.org/wx.php?
Note that there is NO general content on that web site.
Enjoy!
PS: As of this instant the .ORG TLD nameservers haven't picked the domain up yet from my registrar. That's abnormal; I see it on my infrastructure but not globally. It should be globally visible by morning.
There's just one thing left to say:
Thank you!
I've been fiddling with this for quite some time, and once I've found this thread everything worked as advertised!!
Happy new year!!
Glad it works for you! Happy New Year to you as well.
Hi Genesis3,
I have installed yesterday Josh's v15 M2D Plain 3G ROM and would like to customize the Weather and add my location.
Your Manila2D.exe is 1.1 Mo where the Manila2D.exe included in this ROM is only 410 KB .... Do you think I can change the original by your's ?
Thanks
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Packed manila2d.exe
I haven't seen anyone post about this but the compressed manila2d.exe that I have uses UPX it worked for me to both unpack and repack the file.
Look into the file for "$Info" if it say's packed with UPX the link above may work for you too. (about 350h char's in)
ENJOY!
Genesis3 said:
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Click to expand...
Click to collapse
As with everything here YMMV, make backups and if you blow it up don't blame anyone but the operator.

Weather adding city TF3D

Hello,
Having severe issues in adding a city for TF3D's weather tab, tried using Falke's weatherdatabaseeditor 1.1, 1.1 modified and 1.2 (1.1 and 1.1 modified enables you to edit the database but causes TF3D to restart everytime you try to select weather tab, 1.2 says database is write protected). Also tried Joe's HTC Weather Database editor 1.3 and 2.2 rhodium, 1.3 allows for full editing and 2.2 allows me to just edit accu weather codes but both of them cause weather tab to make TF3D reload constantly!!
I have tried these in various soft resets and TF3D enabled and dissabled for the last 3 weeks on Valkyrie Firestorm, WCX series and ITJE's v12 ROM's but all do exactly the same. Slowly driving me away from most of the ROMs even though I really like TF3D and making me want to use plain ole' 6.5 because all I want is the weather where I live, it is driving me up the wall!
Any light anyone could shed would be greatly appreciated especially as I feel like a complete novice even though I have been able to setup/install everything else for my phone including making TomTom maps work with speed cameras which apparently is difficult!
Kindest Regards,
Jase E
P.S. sorry for the mini-rant, just winding up a touch!
Take a look at this thread.
Basically copy over the mentioned *.manila file to your pc, edit it as described with
sqlite, copy it back on your device, change one Registry key (the one that redirects the
weather URL) and you're done.
But one tip: the city examples are for old manila, to get it working you need to add
for example ",60,110" to the entry you want to add to the database, just have a look
at the output.
Good luck.
Thanks for the quick reply,
That looks fun, will try it when I finish my night shift,
Regards,
Jase

[GUIDE] Add cities in Sense Weather app and World Clock

Hello everybody,
I searched for a while for a sollution to add missing cities in the Sense weather app but finally I collected all needed information.
I have also found out that you can add Cities in to the World Clock App of your Sense Phone - see below.
I have LeeDroid 3.0.3 GB ROM with Seos Weather for Sense 2.1. This sollution is working for shure.
Let's go to work:
Add cities to the Sense Weather App:
First you need to watch SuperSorts howto.
You don't need to use SuperSorts datafile - it is the whole city list.
The following file named "weather.db" is the current Sense weather database file only. It means you will just edit the list of cities directly shown in Sense weather.
Once prepared this file you can everytime overwrite the original one... after a wipe, for example.
(I'll try to make a update ZIP which you can flash with CWM once you added your own database file to it)
With Root Explorer you have to copy this file from the phone to your HDD:
/data/data/com.htc.provider.weather/databases/weather.db.
Edit it with SQLite Database Browser by inserting the right location code
Set also the correct app you want to use the data for : here com.htc.elroy.Weather under the row App.
... and save it.
Copy weather.db back to /data/data/com.htc.provider.weather/databases/
and reboot your phone.
You can find your Accuweather location code using the database found here
or just generate it by netWeather v3.0.
To find a code proceed as follows:
Go there
and
"Choose location" for example Belfast then Search and select which Belfast for example in United Kingdom
"Next"
"I agree to these terms and conditions"
in the window web page code scroll down until you find EUR|UK|UK002|BELFAST|
(Thanks to Pidipadi)
Add cities in the World Clock:
Do the same steps as for the weather. Following add a line in the database that looks like the weather one but set the right application in the App column:
com.htc.android.worldclock
That's it
thanks for the guide man
thanks korzyn
i have tested and works, but you must change this file:
/data/data/com.htc.provider.weather/files/WP_0409WWE.db
works 100%
robertus23 said:
thanks korzyn
i have tested and works, but you must change this file:
/data/data/com.htc.provider.weather/files/WP_0409WWE.db
works 100%
Click to expand...
Click to collapse
Ok, you're right. I couldn't get it to work that way. Maybe I did something wrong.
Anyway, as I see is the difference between those database files is that WP_0408WWE.DB is the whole on the phone aviable city database.
The database file what I wrote about in my first post, is the current database of your weather app.
I'm very interested in updating this db as I have family/friends all over the world.
Can you confirm that I only need to add 'EUR|UK|UK002|BELFAST|' for example?
OR do I need to include all other data (Country, timezone, Long, Lat etc) in the columns for the newly inserted row?
Thank you for your information about the locations.
I use other data too(time-zones,country,latitude,long.- because my country it so small)
JD7 said:
I'm very interested in updating this db as I have family/friends all over the world.
Can you confirm that I only need to add 'EUR|UK|UK002|BELFAST|' for example?
OR do I need to include all other data (Country, timezone, Long, Lat etc) in the columns for the newly inserted row?
Thank you for your information about the locations.
Click to expand...
Click to collapse
I'm not shure but I would just try it out. What you should insert is the city name - it will be shown in the weather app. The other stuff is not needed I think.
robertus23 said:
I use other data too(time-zones,country,latitude,long.- because my country it so small)
Click to expand...
Click to collapse
korzyn said:
I'm not shure but I would just try it out. What you should insert is the city name - it will be shown in the weather app. The other stuff is not needed I think.
Click to expand...
Click to collapse
Thank you both for the update - I will create two copies of the db and try both.
See if there is any difference
JD7 said:
Thank you both for the update - I will create two copies of the db and try both.
See if there is any difference
Click to expand...
Click to collapse
Please tell us what you found out.
What's your conclusion. (...and... please vorgive me my English if thee are any mistakes in the text ).
Sent from my Desire HD using XDA App
Works like a charm on Kingdom ROM.
I now have personalised home weather info.
Thanks
korzyn said:
Please tell us what you found out.
What's your conclusion. (...and... please vorgive me my English if thee are any mistakes in the text ).
Click to expand...
Click to collapse
Kein Problem. Ihr Englisch ist viel besser als mein Deutsch
Ok so far:-
1. Found accuweather netcode for places 'X/Y/Z' where family or friends live (Town rather than City), added that to a copy of the WP_0409WWE.db (List db).
2. Copied db to SDCard, then Root Explorer - delete original WP_XXX.db, replace with new version, set permissions. Did reboot to be safe lol.
3. Was able to select the 'Town' from 'add new place list' within the weather app, but instead of 'Country' listed below, place name when viewing weather, it listed null (as in null value).
4. Once selected in accuweather, I was unable to display data of the Town I had the code for.
______________________________________________________________
I'm going to try and edit both db's mentioned in the thread - the 'Master List' (WP_XXX.db) AND the 'User' db. Replace the ones on the fone (I have backups ) and see what happens.
One thing that I did notice within the code from accuweather is:-
EUR|UK|UK002|BELFAST|
The section in RED for the places I wish to use, there are several codes - for each place on the accuweather website. There were 3 options to choose (Town X; UK or Town X; England; UK or Town X; County/State Y;England).
I will post more if anyone interested - might be later today or tomorrow, I've just finished a 13hr workshift
Oh - I did some digging online to find out how accuweather decided on the 'UK002' code but most URL's linked back to XDA for other phones - just mentioned go to site and select place etc.
I even thought of weather stations and Airports - came up with a bunch of data, but nothing linked into accuweather's codes.
Del aka JD7
Sorry for the delay - to many work hours...
However, I have managed to get Non-City Weather to work for me.
1. Edit the WP_0409WWE.db with the Accuweather code for your town (having obtained from website).
2. Edit the weather.db with your new town entry information
3. Check weather from clock/weather widget
Del
24-05 10:14 GMT+1 ** Update ** works for me - Accuweather code in both db's - doesn't appear to need additional long/lat/timezone

Categories

Resources