yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] o0RaidR0o:
Thank You!

Thank you!, Thank you!, Thank you!, Thank you!

I've been searching high and low for an answer. Mine wasn't about adding cities per say, but the inability to update an added city (My Location city was working) What I needed was the ability to change the URLServer or switch over to a new one. I'm running Xpress Dusk custom rom, the conflipperweather server was what was in the registry. I didn't want to change anything I didn't fully understand, and what I found was your handy app that automated the process of killing HTC Sense, and the ability to change servers. I set mine to use the not2advanced proxy server and now I can update additional cities :)
[Windows Mobile Apps and Games] Sting32:
Conflippers weather site is gone. Just FYI
[Windows Mobile Apps and Games] FiveInline:
Why do my phone hang when i install this?

tried to uninstall it, and then my homescreen was gone, and i had to activate HTC Sense to get it work again??

HTC HD2, Artemis Rom
[Windows Mobile Apps and Games] burnlea:
Weather City Editor stops Sense UI and only restarts it if you close it via the EXIT left soft button. If you close Weather City Editor by clicking the top right hand corner, SenseUI won't restart, so you won't see your complete home screen.

Hope that helps.
[Windows Mobile Apps and Games] JVH3:
As an FYI, I receive email notification for posts to this thread, so I saw your original post, before you editted it.

I did not appreciate it.

I have provided this software for free. I developed this in C# from the ground up. I was inspired by Joe Wilcox's version that worked for TouchFLO 3D 2.0. He provided a small piece of code that shuts down TouchFLO 3D and starts it back up. I modified it slightly to handle Sense. I have received very little in donations. Maybe 1 penny per user and maybe $1 for every hour I have put into this.

Nothing says you are sorry better than a nice donation.
[Windows Mobile Apps and Games] Panos5vRS:
Greek not supported

Hi, great Job!

but it only works for me if I type the new city-names in english. When I enter city names in Greek they just don't appear in the weather app city list but I can see them in Weather City Editor

ROM VERSION: 3.14.482.2 (Greece)

Thanks!!!
[Windows Mobile Apps and Games] Taylormade71:
Total freeze

Dear Sir.

Thanks for a great app for our HD2.

Everything has worked fine with my previous ROM versions, but with the latest version of Artemis ROM V.41 (Based on LEO-S 3.14) and Manila v2.5.20191914 my phone totaly freezez and Hardreset is the only option.

Any suggestions?

Or is there a new version soon? ;-)

//Best regards
[Windows Mobile Apps and Games] radon222:
I've read that the Weather City Editor doesn't play nice with newer Sense 2.5 builds. The best thing to do is manually disable Sense. Run City Editor, then re-enable Sense.

Good luck
[Windows Mobile Apps and Games] JVH3:
Some later versions, the Today plugin is called "Sense", instead of "HTC Sense"

I am using Sense 2.5.2019 with Energy ROM.

When Sense is running, check this registry entry

HKLM\Sofware\Microsoft\Today\Items

Then look to see if the key for Sense or HTC Sense is there.

With the latest Sense 2.5 releases of ENergy ROMs, both are there, but "HTC Sense" is what is enabled.

And the plain sense only has the enabled dword. no other attributes.

Doing what you have said will work.

Plans for next version

Shut down all today plug ins on start and track which ones were shut down.

Store this, info.

Restart them all on Exit.

If the app was improperly shut down, this information can be used if the app is restarted
[Windows Mobile Apps and Games] JVH3:
By hard reset, I assume you mean soft reset. Since the app doesn't do anything unless you run it.

Try stopping Sense manually first as suggested.

See my last post for an explanation on why.

There could also be a problem wih the latest Artemis ROM.
[Windows Mobile Apps and Games] JVH3:
The cities must have unique accuweather codes.

If I name a city and give them the same accuweather code such as:

Southpark NAM|US|CO|SOUTHPARK

Springfield NAM|US|CO|SOUTHPARK

Then I will not see the 2nd one entered.

The selected cities is stored by the AccuWeather code. That is how HTC decided to do it.
[Windows Mobile Apps and Games] Niker84:
Any update for JVH3_WeatherCityEditor planned???
[Windows Mobile Apps and Games] JVH3:
I am planning to. My real job has taken alot of my time lately.

Probably will start more work on this in a week or 2.

Some features planned:

Accu weather code lookup for cities.

check for duplicate accu weather code on update or create.

validation of selected cities and removal of selcted cities that are not in the database.

Better Sense Stop / Start algorithm. (shut down all today items. Store that information. On Exit, Restart all that it stopped. On Exit from the X, restarting the app will allow use of Exit to restart them.)

Not sure what else is needed.
[Windows Mobile Apps and Games] billis_kou:
Great job. I have used this prog with a previous rom and worked like charm.

I flashed my HTC Diamond with a new rom and decided to put this prog back on to enter my city. Here is where the porbs start. At accuweather.com i find my city (Kavala,greece) but i cant find anywhere the code (EUR|GR|GR___|KAVALA) to put it in and update my location. Any help would be appreciated. Also the other link "http://weather.joeearl.co.uk/" doesnt work
[Windows Mobile Apps and Games] JVH3:
That sucks. I am not the owner of weather.joeearl.co.uk. He must have taken his site down. It used to be a very easy way to get accuweather codes for a city.

I might need to get a domain name to support accuweather code lookup.

The code should be pretty trivial on the webserver for it.

But, that will be an added monthly expense. I'll need to figure out something to make the app generate at least enough revenue to cover the website costs and what ever accuweather charges.

With that, I can also provide an alternate weather server URL, since Conflipper's is no longer running.

Accuweather changed the format of the URL for internatial cities, which made the need for looking them up using the JoeEarl site.

I'll see if I can't find a way to get the code for that city.

I would think that, if you know a code for a nearby city the GR___ part should be the same. In the United states, that part represents which state the city is. Example: MN is for Minnesota.
[Windows Mobile Apps and Games] JVH3:
New way to get accuweather codes

Get them directly on accuweather's site:

http://www.accuweather.com/rss-center.asp

Enter in your city to get an RSS Feed, such as Kavala, Greece

Press the Set Button,

It returns a URL in the edit box, such as:

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=EUR|GR|GR023|KAVALA

You can see that the accuweather code for Kavala Greece is EUR|GR|GR023|KAVALA

I may be able to automate this in the next version of my app.
[Windows Mobile Apps and Games] billis_kou:
Thank you very very much for fast reply. Now works like a charm.

Thanks a lot.

Cheers !!!
[Windows Mobile Apps and Games] badnaam:
Home screen does not load

I just installed this program to my main storage, on the latest version of energy sense rom and I added a couple of cities, and now my home page does not load/show up.

How do I revert the changes? Please help!
[Windows Mobile Apps and Games] JVH3:
You did not read the directions for using the program.

When you are done adding cities, you must exit with the left soft button labeled Exit. Otherwise sense will not automatically be restarted.

To manually restart sense, do the following.

Use the start menu.

Then settings.

Then then, on the personal tab, select Home.

Then go to the Items tab.

Select HTC Sense.

You should be good to go at that point.

If you are using one of the memory saving start menu replacements that NRGZ28 cooks in that does not give access to those menus, do the following.

Use your favorite registry editor. I use Total Commander. It is cooked into Energy ROMs.

Goto

HKLM\Software\Microsoft\Today\Items\HTC Sense

Goto the Enabled attribute.

Set it to 1.

Exit your favorite registry editor.

Turn your phone off. Then turn your phone back on.

You should be good to go at that point.
[Windows Mobile Apps and Games] RaymondEC:
Great Utility

Thank you for this editor. Two of my current three locations I have needed to add using your program.
[Windows Mobile Apps and Games] Redbaser:
Hi JVH3,

Is there es wel a App For Android.
[Windows Mobile Apps and Games] JVH3:
Nope. Well, maybe, but not by me.

If someone buys me an Android phone, maybe I'll look into it. But for now, I am not elligible for an upgrade until February of 2012 and am locked in my contract with AT&T until August of 2012.
[Windows Mobile Apps and Games] Bonito77:
Thanks so much for this realy little and very usefully helper.

Grtz B.;)
[Windows Mobile Apps and Games] hojadereyes:
Thank you very much.

Best regards
[Windows Mobile Apps and Games] thesteve42:
fixes the data connection error on "my location"
[Windows Mobile Apps and Games] Sting32:
JVH3,

Great app. Is there a way to backup the database this creates, I need to hard reset, reinstall the app, but hate looking up the code againm, and adding. Not a big deal I know, just wondering. thanks!
[Windows Mobile Apps and Games] JVH3:
That feature has been in for a long time.

Menu->Backup / Restore

First select Set Location to specify where you want the backup.

Somewhere on the storage card is good.

Then Menu->Backup / Restore

Then select Backup.
[Windows Mobile Apps and Games] hell_freezer:
i have a problem with system time.

it changes the time and the date like 12+hour less & 3 days back.

i dunno if its this app that cause it (maybe i did something wrong)

before installing this app, i remove all city and just leave current location remain.

then i install this app, disabling sense, added 2 cities using accuweather code (ie. ASI|ID|ID002|DENPASAR), and added those 2 cities in weather tab.

after that, about 2 days later, the problem started to occurs.

but it didn't happen if i don't edit weather city using this program.

is there any mistakes with my steps?

thank you anyway for this great app :).
[Windows Mobile Apps and Games] JVH3:
I could understand it being 12 hours off, if you selected the wrong timezone.

But, there is nothing that this program would do that would cause it to display 3 days wrong.

Can you please use the backup feature and upload the files to a post?

Even if it is not a WWE ROM, I should still be able to tell if the timezone is correct, since you posted the Accuweather code.
[Windows Mobile Apps and Games] jbs68:
Just a post to say Thank You !!!!!

Thank you for this soft, it really working good on my HD Mini ....
[Windows Mobile Apps and Games] kzs12:
This thing fu*** up my phone :(
[Windows Mobile Apps and Games] JVH3:
10000+ users are not having a problem.

Your post makes it impossible to help you though. You neglected to provide important information.

1. What phone are you using?

2. Are you using a stock ROM, or a custom ROM?

3. If a custom ROM, which ROM are you using?

4. What do you mean by "fu*** up"?

5. Did you exit the app with the left soft button labeled Exit?

6. Do you mean Sense did not restart?

To restart sense if you failed to follow the directions to exit the app with the left soft Exit button, do the following.

Start

Settings

Home

Items

Select HTC Sense or Sense.

Press OK

Sense will start back up.

In the future, provide details with your posts and always read the first posts of any thread before installing any cab.

As explained in previous posts, this app only allows the manipulation of 1 file.

It also supplies a registry entry so that weather for custom cities can be retrieved. That registry entry is used in virtually all available custom ROMs, so it is not the cause of any problem.
[Windows Mobile Apps and Games] wmg316:
WCE Error

@JVH3

Since I've been loading this via XDA_UC I haven't really opened the app in a long while. I was traveling Friday, and wanted to add a city, but as soon as I open the app, I get an error which closes the app. Once closed, Sense has been turned off.

Would you mind looking at the "error details" and see if it is an easy fix:

WeatherCityEditor.exe
SQLiteException
The database disk image is malformed
database disk image is malformed

at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at WeatherCityEditor.MainForm.DoInitialLoad()
at WeatherCityEditor.MainForm.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer._WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.ApplicationThreadContext._InternalContextMessages(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at WeatherCityEditor.Program.Main()
[Windows Mobile Apps and Games] JVH3:
I am not getting the error on my Tilt 2, using Energy.RHODIUM.29007.Sense2.5.Cookie.2.0.sencity.Dec.27

On my storage card in the folder \XDA_UC\Sense\

I have 2330fc3c_manila which already has the cities that I use.

If you upload your version of that file from your windows folder, I can try it out.

The part of the error:

SQLiteException

The database disk image is malformed

database disk image is malformed

indicates that the file is the problem.

Also, are you using version 3.5 of the editor that fixes the issue if the country table is missing from that file.

Either way, upload your file and I'll take a look at it.
[Windows Mobile Apps and Games] wmg316:
Yes, I am using v3.5. From what you said above, I pulled an old backup of my 2330fc3c_manila file and copied to Windows folder...and now things are working fine. I guess my file got corrupted somehow. I should have tried this before posting. Sorry...and thanks for your response.
[Windows Mobile Apps and Games] JVH3:
New Version with accuweather code lookup

version 3.6 posted.

Added accuweather code lookup.

After picking the country and entering the city,

(For United States, also enter the State.)

then Right menu, Look Up Code.

It will find the accu weather code for you.

Note, United States cities will be the zipcode.

Also, for non English ROMs, this probably will not work, but it might.

Also, I removed the code that allows the selection of the conflipper server, since the domain name is no longer owned by anyone.

----

Please use the Thanks feature of the site.

And please donate if you are able. Spent too much at Christmas.
[Windows Mobile Apps and Games] JVH3:
Minor bugs with Code Lookup

If there is a space in the city name, it will lock up when doing the accu weather code lookup.

It actually will just time out and a message box will be displayed after a minute or so.

Fix will come later. Not necessarily tomorrow.

It's pretty minor, since it works for all cities with no space and the functionality did not exist before.

As a work around, when entering the city name, enter %20 for space

such as

New%20York

or

Fifty%20Lakes

Then edit the city name after the code is retrieved.

----

Bug #2

If you lose or don't have a data connection when you press Look Up Code, an exception will be thrown after it times out.

It will force the app to close.

You will need to restart Sense.

Start->Settings->Personal->Items

Select HTC Sense

A fix will be coming for this as well. Same thing. Not necesarrily tomorrow.

Solution will be very easy for both.

http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout.aspx

Just need to set the timeout value to something smaller. Default is 100 seconds.

I will set this to something like 5 seconds as default but add a reg entry to override it - checked on launch.

replace spaces with %20

And put the whole guts of the method in a try catch, so that timeouts won't cause a crash.

I probably will have time to update tonight, but no promises.
[Windows Mobile Apps and Games] JVH3:
Version 3.7 uploaded to first post

Updated 1/5/2011 at about 9:30 PM as JVH3_WeatherCityEditor_v3.7.CAB

Fixed issue with spaces in city names.

Fixed other timeout exception.

Fixed issue with response stream not being closed after a a request.

Made it so restarting after exitting incorrectly allows you to restart and then exit correctly for Sense to restart.

Updated 1/5/2011 at about 1:00 AM as JVH3_WeatherCityEditor_v3.6.CAB

Added Accuweather code lookup within the app.

Fixed targt location of shortcut to Start Menu\Programs so it is in the right spot/

Fixed Name of shortcut, so it has spaces.

Removed conflipper's weather server as an option, since it is no longer a registered website.
[Windows Mobile Apps and Games] JVH3:
Donations / Donations per user / Expenses of Development

Just an FYI on donations and expenses

For the Weather City Editor.

Version 3.5 alone was downloaded almost 11000 times, since I uploaded it in March of 2010.

Pretty sure most are or were actual users.

It's amazing how few of those people donated.

I received donataions from a total of 64 people since September of 2009.

Some of those were for other things I've produced. That is not even 1% of the users.

I personally do make it a practice to donate to those that produce things that I use. If you don't beleive me, just search for posts from me containing confirmation number.

Obviously, I can't say that you have to donate.

But, I appreciate anything that you can donate.

Thanks,

JVH3
[Windows Mobile Apps and Games] SyNRGz:
Great Work!

Thank you for this awesome tool and all that you do to help this forum with solutions. Your efforts are appreciated and I expect others will agree.

Confirmation number: 7HT18850VE624310E
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

thanks again for that great tool. There´s only one little problem - at least to me. I´m using a T-Mobile MDA Vario V (HTC TP2) with the german WM 6.5. When i uninstall the WCE there´s still left the link to start WCE in programs. It seems the link can´t be deleted. When i uninstalled WCE 3.5 it was removed. Then i installed 3.6 - and i had one entry. Today when i saw there´s out 3.7 i uninstalled 3.6 and installed 3.7 - now i had two entries for WCE. So i tried to uninstall 3.7 - and still i have two entries left!

I hope you know what i mean - sorry for my english.

Yours

WeT-Klb
[Windows Mobile Apps and Games] burnlea:
Thanks!

Many thanks for continuing the development of this great Manila weather tool.

Confirmation number: 2Y671542C4093905K
[Windows Mobile Apps and Games] JVH3:
Thank you for the donations. Very much appreciated.
[Windows Mobile Apps and Games] JVH3:
That's strange.

I changed code on my computer and built the 3.6 cab.

I had 3.5 installed, so I uninstalled 3.5.

Then I installed 3.6.

Found the issues that 3.6 had, made code changes to fix them.

Then, I built the 3.7 cab.

I uninstalled 3.6.

Then I installed 3.7.

I only have 1 shortcut on my start menu.

Use total commander to look at

\Windows\Start Menu

and

\Windows\Start Menu\Programs

The lnk file should only be in \Windows\Start Menu\Programs

---

Thinking about it, maybe that is the problem.

On a German ROM, the path probably needs to be slightly different.

Like \Windows\Start Menu\Programmen

I might need to make a new Cab for non english roms, but the app will be the same.

To fix, use Total Commander to move the lnk file appropriately.

[EDIT]

I think I figured out the issue.

I am using an Energy ROM with the Panel Start menu.

When installing the original, with the Panel Start Menu, it messed up the start menu.

The current cab works fine for English roms with the normal start menu and with the panel start menu.

But, I will need to made a cab for non english roms, that puts the shortcut in the original location.
[Windows Mobile Apps and Games] wmg316:
Good Job!!

Confirmation number: 8FV43674JM647333D

Just installed v3.7...works great!
[Windows Mobile Apps and Games] JVH3:
Thanks very much for that.
[Windows Mobile Apps and Games] JVH3:
Something kind of disturbing

I googled weather city editor.

I found my app on softpedia.com.

And it is the latest version. The version that I just uploaded yesterday.

It appears to be the same cab.

It was dressed up on that site, like I had put it there or something.

The only place I have posted this app is on xda-developers.com.

According to that site, it has been downloaded 1820 time.

I am guessing that is the number of downloads of any versions through that site.

Not sure what I can do to prevent this.

Not sure if I need to prevent it either. I have a splash screen and there is and about screen that direct users here.
[Windows Mobile Apps and Games] WeT-Klb:
Don`t worry - i used SKTools to get rid of it. There was also found some entries in registry too. Even it doesn´t uninstall that clean like it should - the program itself works absolutely perfect. I like it so much.

Yours

WeT-Klb
[Windows Mobile Apps and Games] Cheech1976:
Great going, especially the automated look up for the accu-weather :)

Work´s like a charm!

Thanx a lot!!!
[Windows Mobile Apps and Games] ArsusX:
Hello, JVH3! In Weather City Editor - Version 3.7 has created a new city, have kept, close the program, Manila (02.05.2018) reboots, but the list of cities the city does not appear. What's wrong? Thanks ... System Language - Russian

PS Sorry for my English...
[Windows Mobile Apps and Games] Cheech1976:
I added my custom cities just the way i used to with the old version, deactivated HTC Sense, started the Editor, added my cities and reactivated Sense myself and all was set.

Maybe worth a try?
[Windows Mobile Apps and Games] JVH3:
Are you saying that it does not appear in your list of cities to pick from in Sense?

Or that it is not automatically on the weather page after sense restarts?

(I think this would be a good idea for me to add to the add/copy/update screen though.)

Maybe a checkbox defaulted to checked to automatically add the city to your picked cities list.

But, for now, you must go to the weather tab.

Then select add city.

Find the city that you added.

Select it.

Then you will start getting weather updates fo the city you added.

Then you will want to go back into weather city editor and do a backup.

Backup backs up your added cities and your list of selected cities.
[Windows Mobile Apps and Games] ArsusX:
The fact that I have created a city in weather city editor, which was not in Sence, but after that in the list of cities in Sence it does not appear: (, back to weather city editor and see that the city is on the list (weather city editor 's list) ...