yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] JVH3:
Please upload your file: 2330fc3c_manila and timezone.db from your windows folder?

Could you also upload a screen shot of the error you are getting and a screen shot of the details screen of the error? I think you said it was an index out of range error.

There is a setting in Visual Studio 2008 to make it so only Dot Net 2.0 is required instead of 3.5. If I change that and it works on my phone, I will upload a new version with that. There are a few simple enhancements I want to do at the same time.

Registry to set the backup restore location.

Ability to change weather server URL.

Ability to reorder the selected cities.

Ability to add a Country.

Are your friends getting the same error or are they still using the other version?

I have a family party today, a party with friends tomorrow, and another family get together on the 1st, so I probably won't get to it until at least the 2nd.

Have a Happy New Year.
[Windows Mobile Apps and Games] drjim:
2.1 vs. 3.1?

I've been using 2.1 with great success on my EnergyROM 28014. Should I upgrade to 3.1 (what does it do that 2.1 doesn't). The details on your first post don't clearly differentiate between versions.

Also, can you clarify some of your instructions?

1. "Upgrade Process

backup you current manila file manually.

Uninstall

then install the new version."

Which current manila file? And should I do a separate uninstall before installation of 3.1 or can I just allow the old version to be uninstalled when I use CABviaActiveSync?

2. "If you have already customized 2330fc3c_manila

Copy the cab to your device using active sync.

Install the CAB to the device. The latest version no longer replaces 2330fc3c_manila.

If you have not already customized 2330fc3c_manila

Copy the cab to your device using active sync.

Install the CAB to the device."

How would I know if I have customized that manila file? And it seems like the instructions tell us to do the same thing whether we customized the manila file or not?

3. "Do not install with UC or Sashimi."

I think I did with my last flash to 28014 with no problems. Can you indicate why not?

Thanks and Happy New Year!
[Windows Mobile Apps and Games] JVH3:
1. The manila file I was refering to is 2330fc3c_manila.

You should do a seperate uninstall.

I changed computers since then and recreated the project, so the install might not detect that it is the same program and not remove the old version. With the new version, the exe name is different, so if it did not uninstall, the old one would continue to take up space.

2. Main reason for backing up the file is because the early versions I posted around August or September installed a 2330fc3c_manila file. This would make uninstall remove that, so you would have the stock cities. I think I mention it in the history for when that changed.

It's not important, especially if you use the backup feature in the program.

If you used a previous version of the weather city editor, it customized the manila file.

But since it is no longer replaced, it is not an issue.

3. I have not tested it with UC or Sashimi. At least 1 person had an issue where it did not work when using UC, but did when manually installed. The problem may have been one of the earlier versions which replaced the file 2330fc3c_manila which is part of the ROM. Since installing no longer replaces that, it probably is not a problem anymore.

Features Added:

On screen keyboard does not hide the fields for Accu Weather Code or City.

A scroll bar appears so all fields can be seen when using the on screen keyboard.

Backup and Restore backs up and restores the selected cities on the weather tab. So, after restroring you don't need to go to the weather tab to add your cities.

It will automatically shut down both TouchFLO 3D and HTC Sense.

Note: It is faster to manually shut them down, but it will shut them down for you. Other applications sometimes prevent Windows from quickly processing the message to shut it down. I have no control over that.

Around November 1st, it supported the latest HTC Sense 2.5 database format.

Important: When flashing between differnt versions of manila, you should not restrore from a backup. There may be database incompatibilities.

Example. If while using the September version of a ROM using TouchFLO 3D Manila 2.1 I did a backup. I should not restrore from that backup, if I later flash a ROM with HTC Sense 2.5.

It did work for me using restore with a ROM with HTC Sense 2.1 from a backup made using TouchFLO 3D Manila 2.1.

Hope this helps.

Have a happy new year.
[Windows Mobile Apps and Games] WeT-Klb:
View attachment 1WeatherCityViewer.zip

This file includes the 2330fc3c_manila already changed by CityWeatherEditor v2.5, the timezone.db and four screens showing the error.

Screen1 shows the start (with already disabled HTC Sense)

Screen2 shows "unexpected error" directly after i clicked "Add City"

Screen3 and 4 show the details screen

Hope you can work with it

Yours

Werner
[Windows Mobile Apps and Games] JVH3:
I have downloaded and I am looking at it now.

I have a couple tools I have to put on my computer that I had on my other one to look at the manila file.

From it's size, it appears that it contains data.

One thing I am thinking is that United States might not be in your database as United States. Your ROM looks German.

I default to "United States" as the Country and MN as the state.

I'm not positive what happens if United States does not exist as as United States".

I'll be looking at the code and I will make sure this is not a problem in the next version.

If that is the problem, it is not a difficult fix.

I have verified that in your database, the Country for "United States" is "USA"

I will fix this in the next release.

My plan will be to use a registry entry to store the last accessed Country and the last accessed State.

On first run, I will prompt for the default country. I probably should put in a settings page.

I can fix the manila file real quick for you, and it will say United States instead of USA.

I'm going to first repo by putting your file in.

Then modify the file.

Then verify the modified file works.

I will then upload.

Using your manila file, it is not reproducing for me. I thought I was onto something with the Country.

I figured out what you are doing and a way that it will work.

Pick a country in the drop down list before pressing Add City.

Also, it is also easier if you pick a country from the drop down list first and select a city near your city and use the Right Soft Menu -> Copy.

That way the timezone is already selected for you.

Hope this helps.
[Windows Mobile Apps and Games] WeT-Klb:
Hi,

you are really great. It really seems it works. Even i didn´t really add a new city i followed the steps like i would add a new city. And this time, following your suggestions, it worked perfectly. I guess if i would press "Save city" it would do perfect.

But until now i´m absolutely satisfied. Only if you don´t disable HTC Sense manually it needs very long time for windows to disable it.

Happy new year

Werner
[Windows Mobile Apps and Games] shiguo:
this app is fantastic!!! i love it!! it even works of the new sense 2.5 1922xxxx build. Thanks!
[Windows Mobile Apps and Games] arbortender@gmail.com:
Broken activesync?

Ack! Welp, I don't know where I went astray, but installing this broke my today screen on my previously stock htc touch pro Raph800 (US Cellular). :confused: I tried uninstalling, but still it's broke. Can someone please help a too-enthusiastic newbie?

I reinstalled it, to read the error I got upon starting the program. Here it is.

Error

An unexpected error has occured in weathercityeditor.exe.

Select quit & restart this program, or select Details for more information.

Details

Weathercityeditor.exe indexoutofrangeexception

at weathercityeditor.mainform.populatelistview()

at weathercityeditor.mainform.comboboxstate_selectedindexchanged(objectsender, eventargs e)

at system.windbows.forms.combobox.OnSelectedIndexChanged(EventArgs e)

at system.windbows.forms.combobox.wnproc(WMwm, Int32 wParam, Int32 IParam)

at System.Windows.Forms.Control._InternalWnProc(WMwm, Int32 wParam, Int32 IParam)

at Microsoft.AGL.Forms.CTL.ComboBoxSetSelindex(IntPtrhwnThis, Int32 isel)

at System.Windows.Forms.ComboBoxSetSelectedIndex(Int32 value)

at WeatherCityEditor.MainForm.PopulateStateList()

at WeatherCityEditor.MainForm.ComboBoxCountries_SelectedIndexChanged(Object sender, EventArgs e)

etc

etc

etc

no copy-paste available there, so that's about as much of it as I can stand to copy right now.

OK, I think I now know what at least part of the problem is.

I just ass-umed that I had the version of manila specified, but NOT. :eek:

My version is/was 1.2.35349.1_1813.6 (maybe?)

So that's not good.

Before I start exploring how to update manila, is that even possible at this point?

Shall I uninstall the weathercityeditor again first?

Can I get back to good without updating manila or am I now committed?

Thanks for any help ANYONE can throw my way.
[Windows Mobile Apps and Games] JVH3:
Stock HTC Touch Pro or Stock HTC Fuze should use ther program by Joe Wilcox.

Touch Pro 2 should use this, or any ROM using Manila 2.1 or highter. HTC Sense or TouchFLO 3D.

This is for Manila 2.1 or higher.

I sent you a PM on how to get you today screen back.

Start->Settings->Home

then go to the Items tab and select TouchFLO3D or HTC Sense.

As for as active synch. This program only affects 1 file and that file isnot involved with Active Sync.

I suspect the active sync problem is related to Windows 7.

Try restarting your computer.
[Windows Mobile Apps and Games] JVH3:
I think I might have the long TouchFLO 3D / HTC Sense shut down issue figured out.

I will be doing some testing tomorrow.

Initial tests look good.

I now iterate through the running processes after sending the message.

If I encounter manila.exe, I kill it.

So, manila will not be using the database.

I am thinking the delay was caused by manila having a lock on it.

So the program needed to wait until manila exited before it could get it's data.

Windows processes messages when other apps don't require the processor.

And the program was waiting for manila to release it's lock on the database.

I'm pretty confident that this is going to take care of it.

If all goes well, I will be posting an update tomorrow.

[EDIT]

Having an issue.

In one case it could not get the process list.

So I need to figure that out. A little tired right now.
[Windows Mobile Apps and Games] JVH3:
Tests were not good this morning.

Initial shut down of TouchFLO 3D was about a minute.

Shut downs after that were about 5 second, but if the initial 1 takes a minute, it doesn't really matter how fast the other ones are.

I have to figure something out.

I wish it were easier to reproduce.
[Windows Mobile Apps and Games] JVH3:
I made some code changes and discovered that there is no delay, if the main screen does not actually connect to the database on start.

So I used a timer control to load the initial data for the screen after the screen has loaded. There might bee a better way, but the main screen pops fast after the splash screen now. Then about 1 second later it has all the data.

Before I release this version, I plan to update a few other things.

But at least this delay issue is over.
[Windows Mobile Apps and Games] roloracer:
thank's for this little add-on, got to add my city to my rom, and love it. I sent you a little something for a beer or two :D
[Windows Mobile Apps and Games] JVH3:
Thank you. Much appreciated.
[Windows Mobile Apps and Games] JVH3:
I've been doing a decent amount of coding on this today.

I'm pretty happy with the results.

I'll be putting cab up tomorrow.

It doesn't have all the enhancements mentioned but it has the important ones.

It starts up pretty fast now.

And you can select the backup / restore location.

I also changed the Add City left soft key to Exit and added Add City as an item to the right soft menu.

Tomorrow I will post an updated cab. I just want to verify that it starts quickly tomorrow after the phone sits untouched for a while.

[EDIT]

Decided to post it tonight.
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

i still have trouble with 3.2. When i start it it needs at least 2 minutes before HTC Sense is shut down. After that a message appears, HTC Sense was shut down and the editor´s list pops up.

When i press EXIT i got the same behaviour. WeatherCityEditor seems to stuck as nothing happens anymore. After some minutes i disabled WeatherCityEditor manually and HTC Sense was started again.

If i disable and enable HTC Sense manually everything works absolutely perfect.

Sorry to say like that.

Werner

PS: Something strange: When i start WeatherCityEditor i see the splash-screen and it seems nothing will happen further. When i go to disable the HTC SENSE it is already unchecked. And suddenly the list appears.

The same after i pressed EXIT. It seems to stuck. But when i manually disabled the editor and tried to turn on HTC SENSE i saw it was already checked. When leaving that menu SENSE starts up like it should be.
[Windows Mobile Apps and Games] JVH3:
This was the behavior I was seeing with 3.1.

Are you seeing a message box after you launch, like the first image attached to this post.

You will need to click the OK button on the Message Box.

I am attaching Screen Shots.

I am using HTC Sense, but a bluetooth A2DP fix that Gooru came up with and I cabbed up, makes it appear in the today items as TouchFLO 3D.

Right after the Message Box that says "Shutting Down HTC Sense" or "Shutting Down TouchFLO 3D" appears, press the OK button on the Message Box to close it.

Are you seeing a mesage box at startup?

I've attached 6 screen shots. The 6th is just to show that I am using HTC Sense, even though my Today plugin says TouchFLO 3D.

For the first 5, does yours look different?

This morning when I tested it, I had the list of cities in about 5 seconds.
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

i didn´t see the box when i started WeatherCityEditor. I only saw the "green" splash screen.

After i disabled HTC Sense manually that little box appeared. After i pressed "OK" the City list poped up.

When i wanted to exit i still saw the screen with the cities - i never saw the screen Nr. 5 from your post (at least not within 2 minutes).

Werner
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

i did a second attempt:

Start of WeatherCityEditor:

1. 18:44:30 i started WeatherCityEditor

2. 18:54:30 still only the green splash-screen without the box

3. I pressed Start-Settings-Today to check if HTC Sense is still running. It was already unchecked. So i clicked the "OK" and "X" to close the today screen setting and pressed the "hang up"-key until i was out of everything. Suddenly the little box appeared telling me "Shutting down HTC Sense".

4. I pressed "OK"

5. The list poped up at once

Exit of WeatherCityEditor:

1. 18:56:30 i pressed "Exit"

2. 19:06:30 still only the list without any activities. It´s impossible to click "Exit" or "Menu" now.

3. I pressed Start-Settings-Today to check if HTC Sense is still disabled. It was already checked again. So i clicked the "OK" and the "X" to close the settings screen to close the today screen setting and pressed the "hang up"-key until i was out of everything.

4. WeatherCityEditor was still running in background but no chance to get it visible again.

5. I shut down WeatherCityEditor by the Task Manager. I never saw your screen Nr. 5
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

i did a third attempt:

1. I started WeatherCityEditor and the green screen appeared

2. I pressed "Start-Settings-Today" and HTC Sense already was disabled

those two steps were done within maybe 5 seconds

3. The small box appeared and i pressed "OK". The list poped up.

4. I pressed "Exit"

5. I pressed "Start-Setting-Today" and HTC Sense already was enabled

6. I was leaving settings screen and disabled WeatherCityEditor through the Task Manager

All steps together didn´t need longer than 10 seconds.

Hope this may help your investigation.

It looks like WCE ónly can stop and restart HTC Sense when you manually visit the settings windows.
[Windows Mobile Apps and Games] JVH3:
For the first time with 3.2 it just reproduced for me. And has reproduced 3 times for me now. I must have stopped and startd the program 50 times last night without a problem.

I might have to seperate it into 2 exes. 1 that disables TouchFLO 3D and HTC Sense which then launches the main app. And of course the main app. Or maybe have the main app launch an exe to disable it. It probably does not even need to wait for that process to complete.

I wish there was a direct way to force an immediate shut down Touch FLO 3D and HTC Sense. But killing manila.exe does not work. It just starts back up again. So, to do it, the registry entry for Enabled is set to false. Then a message is sent to Windows. Then Windows processes the message and shuts it down on it's own time.

I found code to look at processes by name, which is not all that simple with the dot net compact framework. Very easy with the full dot net for desktop apps, but there are no native calls to get a process list or a process by name with the compact framework. I was using that code last night to try to get somewhere with it.

I don't have alot of time today, and it's back to work tomorrow. So I won't probably do anything until tomorrow night at the ealiest.

I'm confident that I will get this solved.

I probably will put some calls to create a file with debug info. Enabled with a registry setting. It would be nice to know what line of code it is hanging on.

Thanks for the feedback.
[Windows Mobile Apps and Games] JVH3:
Looked more at the code.

The only code that executes after making the registry change to shut down Sense, but before launching the message box, is the SendMessage to tell windows that a setting has changed.

Open reg entry for write

ChangeRegEntry

Close reg entry

SendMessage

MessageBox.Show

I'm thinking that manila for Sense might do some blocking to prevent it's shutdown depending on what it is doing. Or maybe it is blocking the sending of the message. I'm not sure how it would make it get stuck.

It should just send it and move on.

I don't know of anything that would make it wait to send message.

A little confused on that.
[Windows Mobile Apps and Games] JVH3:
SendMessage vs PostMessage

SendMessage waits until the message is processed.

That is why it is hanging at that point.

Not sure why it is not getting processed though.

I might try swithing to PostMessage to see how that works.

Initial testing with PostMessage is looking good.

I have about 5 Message boxes to give extra info to me.

I'm going to try removing them and see how things go.

So far things are looking very good. I had to add a 3 second sleep to the splash screen, or it was gone to quickly.

After testing, I will put it up tomorrow night.
[Windows Mobile Apps and Games] JVH3:
I just uploaded an updated version. I'm prettty confident on this.

I had isolated the hang to SendMessage because it should have just launch a MesssageBox after that. No other code was beetween it.

A little googling found that SendMessage waits for all running apps to process the message, but PostMessage does the same thing, but it does not wait.

So, I switched things to use PostMessage for starting and stopping sense and TFL3D.

Also, I got rid of the MessageBox that popped up and did a small amount of cleanup as well.

The splash screen will show for 2 seconds.

Could you please test an post results again.

Thanks,

JVH3
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

today i tried the new WCE3.3 - it worked absolutely perfect this time. WCE starts - and maybe 2 seconds later there´s already the list. After pressing EXIT maybe 4 or 5 seconds and HTC Sense is started again.

You did a great job. Thanks so much.

Werner
[Windows Mobile Apps and Games] JVH3:
Wow, that version was downloaded 3637 times.

With the blessing from WeT-Klb of version 3.3, I am leaving only version 3.3 available for download.

Now the pitch

Donations were been pretty good last month and have started pretty good this month.

But, Assuming each of those downloads is a user, I am still averaging less than 10 cents per user. For non United States users, that is $0.10

To put it in perspective, A gum ball costs $0.25

A can of pop from a machine is about $0.75

A beer at the liquore store is about $1.00

At a bar, a beer is about $5.00

Please determine what this is worth to you and donate.

My girlfriend would rather I spend time helping her with her website.

This is more fun and I can justify it more to her if I get donations.

Even single dollar donations add up.

And it's paypal, so it is safe.
[Windows Mobile Apps and Games] JVH3:
Discovered a small problem with version 3.3.

It only seems to succeed at restoring from the storage card.

It successfully does a backup to other locations.

I need to review the code.

Also after setting the location for backup and restore, you must exit the app and restart the app to cause backup and restore to enable.

This shouldn't be a problem for most, since the storage card is the logical place to backup and there for restore from.
[Windows Mobile Apps and Games] JVH3:
After 1 day version 3.3 was downloaded 82 times.

Since 3.4 is such a minor change, I immediately removed version 3.3.

I think this version should finally have no issues.

Fixed restore issue from other locations.

Fixed issue to enable backup and restore after selecting location.
[Windows Mobile Apps and Games] JVH3:
113 downloads in a about a 24 hour period and no feedback.

Not expecting everyone to leave feedback, but I would like some.
[Windows Mobile Apps and Games] WeT-Klb:
Hi JVH3,

i already tried the 3.4 - and still it works perfectly on my german T-Mobile MDA Vario V with WM6.5.

I only can repeat again you did a perfect job.

Whenever i can help you with testing let me know, ok?

Thanks again

WeT-Klb
[Windows Mobile Apps and Games] JVH3:
I'm thinking about making either a resource dll or just make a file of the text used in labels and menus so it can be edited by anyone to be in any language.

Anyone have any interest in that?
[Windows Mobile Apps and Games] WeT-Klb:
Wow, that would be a great idea. Hope you can do it that way i can translate the german part without any knowledge about programming.

Like an ini-file or txt-file.

You really have lots of good ideas.

WeT-Klb
[Windows Mobile Apps and Games] bsSkunkApe:
Here's the donation I promised. Slipped my mind with the holiday's. Love the app! Conf. #:15550471NR8535441
[Windows Mobile Apps and Games] Jorma2211:
Hi JVH3,

the App works perfectly on my MDA Compact IV, finaly I've got my prefered cities!

Great App, thanks! My donation Conf. #:06025463Y9114591S

Keep on developing.

Jorma 2211
[Windows Mobile Apps and Games] ohaness:
Hello JVH3:

Just updated my Verizon TP2 with the Stock 6.5 and Sense 2.1 update. I tried to use your application and right after startup, the enrty screen appears and within a half second, an "error" screen shows with "an unexpected error has occured in WeatherCityEditor.exe. Select Quit and restart...." Hitting the details button, the following is at the top:

WeatherCityEditor.exe

SQLiteException

SQLite error

no such table: countries

There is more obviously more in the error message.

IS this because of the new Verizon version of Sense 2.1 now being distributed?

Anyway that is the feedback.

Thanks for your efforts.