yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] sabrosolatino:
FIXED SQL issue but still wrong code

Thanks JVH3 :),

I have this issue, in my case I notice my phone have a 2330fco_manila of 0KB,

so I just erase it with TOTAL COMANDER and the original 860kb appears again (a mistery for me how it reappears :confused:). So don't need to copy your file.

********************************************

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

********************************************

Forget my problem after 2 "soft reset", disconect from the laptop and make manual update fuction,

NOW I have both USA cities fuction well , by the way notice i don't have to use the ZIP in the code for USA

********************************************

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

********************************************

False Alarm my problem was (past time, not anymore a problem) was I have problem to add USA cities:

1.- VA 22407, (Fredericksburg)

I use "NAM|US|VA|FREDERICKSBURG"

as here accuweather.com (join with)

"/world-index-forecast.asp?partner=accuweather&locCode=NAM|US|VA|FREDERICKSBURG|&u=1"

and 2.- VA 20152, (Chantilly, Dulles International Airport)

and I use "NAM|US|VA|CHANTILLY"

as here accuweather.com (join with)

"/world-index-forecast.asp?partner=accuweather&locCode=NAM|US|VA|CHANTILLY|&u=1"

I also try to put the ZIP before and after the city name without any changes

"NAM|US|VA|20152|CHANTILLY" "NAM|US|VA|CHANTILLY|20152"

in the weather panel they appear all the data with "0" and "IDS UNKNOW"

Can someone tell me the correct "code" please please.

I use HTC DIAMOND CDMA

with OMJ WM6.5 with Sence 2.5
[Windows Mobile Apps and Games] iridium21:
I think Weather City Editor is great, but the icon for it isn't so I've just thrown one together. I know it's not fantastic, but I think it's a bit better than this one, isn't it?

Old one:

The thrown together one (looks better on the WM Start Menu):

In the off chance that anyone wants it, I've included it in this post.
[Windows Mobile Apps and Games] JVH3:
I like this.

Do you mind if I add this into the build with a mention on the about box?

Back in August, i did post requesting icons, because I am not an artist.

See the following post:
[Windows Mobile Apps and Games] iridium21:
Hi JVH,

Please feel free to use the icon however you wish! Many thanks for a very useful app.
[Windows Mobile Apps and Games] iridium21:
Here's a new black version that you might prefer:

The icon in the attached .zip is the correct PNG format.

Hope this helps, and many thanks!
[Windows Mobile Apps and Games] ianicko77:
great job, thx
[Windows Mobile Apps and Games] hesian:
I can't get v3.4 to work on BlackDragon Rom 1.9.3, using 2011. I've had to go back to v2.1. Anybody got it working on Manila 2011 ?
[Windows Mobile Apps and Games] hesian:
Thanks for the better looking icon. I normally use JWMD Icon Changer, but it does not show Weather Editor icon for some reason. What do others use to change it ?
[Windows Mobile Apps and Games] JVH3:
I'll be flashing the latest Energy ROM with Manila 2.5 build 2011

2.5.2011xxxx today or tomorrow. So, I have not yet had a chance to try it.

But here are a few questions:

Are you saying that you are switched back to Manila 2.1 or version 2.1 of the weather editor?

Or are you using a weather editor from a different thread?

And by can't get it to work, what do you mean?

Do you get an error?

Does it not start?

Do the cities you add not get weather updates?

And

Did you uninstall or install anything prior to installing this?

If so, did you soft reset before installing this/

Did you soft reset after installing this?

Did you install to the device or storage card?

Did you install this using UC or Sashimi?
[Windows Mobile Apps and Games] manicotti:
Manila 2011 crashes Weather City Editor

I have Xanny's Evo 1.1 for HD2; it has Manila 2011 and also fails when saving a new or copied item.

Upon saving a new or copied item, I get:

An unexpected error has occurred in Weather_City_Editor_Manila_2.1_2.5.exe.

Select Quit and then restart this program, or select Details for more information.

Abort due to constraint violation cities.cityName_alias may not be NULL

Pressing Details shows:

SQLiteException Abort due to constraint violation cities.cityName_alias may not be NULL

---at

System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
[Windows Mobile Apps and Games] JVH3:
You are not using the most recent version of the weather city editor.

The latest can be downloaded from post #1.

The exe is no longer named: Weather_City_Editor_Manila_2.1_2.5.exe

It is now named: WeatherCityEditor.exe

Uninstall the version you have installed, and install version 3.4 from post #1.

Restart.
[Windows Mobile Apps and Games] hesian:
I'm using your Weather Editor, JVH3_PPC_Manila_2.1_WeatherCityEditorInstall.CAB

The problem is it v3.4 does not want to install, so to me that makes it actually a Windows 6.5 issue.

I'm running WM6.5 from BlackDragon 1.9.3 WWE, with Sense 2011

This is the first install I always do after flashing. I always do a standard install from the cab on the stoprage card to the device.
[Windows Mobile Apps and Games] mirost1:
Can someone guide me how to do that registry things? What version to use on HTC Touch2/Mega? Please help me cause i really tried a few programs and none of them work :(

(i downloaded your reg file, but what to do with it)
[Windows Mobile Apps and Games] JVH3:
If you just install the program, you don't need to do any registry editing.

The install makes the change for you.

And the program only runs when you run it. There is no background process or anything.

And it doesn't take up that much space.

If your set on creating the reg entry without installing the program, then use total commander or Task manager has a reg edit screen.

There are several other registry editors that have their own threads for discussion.
[Windows Mobile Apps and Games] mirost1:
You mean just to take the latest version posted by you in first post, and it will do the job without anything else?

EDIT: I put on my phone, start it and it gave me an error saying: SQLlite error: no such table countries :( May be because before that i had another program which i used to clear all cities, and put only mine, and may be it cleared the table now.
[Windows Mobile Apps and Games] manicotti:
That worked. Thank you and I'm sorry for polluting the thread with user user. ;-)
[Windows Mobile Apps and Games] hesian:
Just worked it out...

Problem is yet another Opera 9.7 issue, this time downloads. It was successful in Opera. I decided to try again with IE, downloaded without issue. The Opera file a couple of bytes to small. I will use IE for all downloads from now on.
[Windows Mobile Apps and Games] JVH3:
Great.

I never would have thought there would be a difference.

But, I don't normally download cabs with my phone.

I download with my laptop and then transfer the cab by USB.

Strange that Opera would give you that problem though.

Good job figuring it out though.

And thanks for posting how you figured it out.
[Windows Mobile Apps and Games] jmarotto:
unable to unlock file write protection

Thanks sooo much for this great tool, and the fact that you're still providing support for it. I used it without fail previously but recently did a hard reset and reinstall. Now I get the message (in the subject) when I try to use it. I tried changing the attributes of the file w/File Commander but it reverts back on close.

Any suggestions? My phone info is in my sig.

thanks again
[Windows Mobile Apps and Games] jmarotto:
doh!

fixed it. . .via these instructions :o

http://xdaforums.com/showthread.php?t=523698
[Windows Mobile Apps and Games] JVH3:
I just looked at that thread. That's an old app over there.

If you were using the latest version of the app in this thread on post #1, it should have taken care of any write protect issues. I updated it near the beginning of the year.

The older apps that would let you add and edit cities all had issues with timezones and the world clock. They were written prior to that column being in the database.

The app I wrote handles that correctly.

I do need to make an update though because HTC decided to drop the country table with some of the 6.5 upgrades.
[Windows Mobile Apps and Games] FeLix_TheDaRk:
I'm testing on my eflin but not workin on it.... any sugestion?

att.Felix_TheDaRk
[Windows Mobile Apps and Games] JVH3:
What version of Manila is on that?

What error are you getting?

not working doesn't tell me anything.

Is it not starting?

Do you get some error after using it?

Screen shots are great?

And is dot net compact frame 3.5 installed?
[Windows Mobile Apps and Games] sixer:
Great work

Thanks for this great editor -

Confirmation number 1J634812883477612
[Windows Mobile Apps and Games] mike3838:
IndexOutOfRangeException

I just downloaded the latest app v3.4. When I run the app, I get an error after the splash screen. See attached files.

Sprint HTC Touch Pro

.NET 3.5 Compact Framework.

JVH3_WeatherCityEditor_v3.4.CAB Installed.

Let me know if you would like any other info.
[Windows Mobile Apps and Games] JVH3:
What version of manila is this?

Is it TouchFLO 3D or Sense?

Is that a stock ROM or custom?

The ROM date of July 2009 makes me think this may have been written before TouchFLO 3d version 2.1 or HTC Sense was available.

Could you please find this file: 2330fc3c_manila

It is located in your windows folder on your phone.

Please zip it up annd post it.

I have seen this error in non English ROMs, but I thought i corrected that.

And I have seen this in the latest Verizon ROM, where the Countries table was removed from the database. I have not released an update to handle that yet.

But, if that is the same problem, I can fix the file so that it will work.

To do this, I just add a countries table and populate it with all the unique countries from the cities table.

Since nothing else uses the countries table, it causes no harm.
[Windows Mobile Apps and Games] mike3838:
TouchFLO 3D 1.2.37129.1_1813,6

Stock ROM, I downloaded from the HTC web site (Sprint Touch Pro - support page) it is called: SPRINT TOUCH PRO MR | 09.25.2009

I've attached the 2330fc3c_manila file zipped up.

Thanks for the help.

-Mike
[Windows Mobile Apps and Games] JVH3:
This is an older version of Manila than my program supports.

Joe Wilcox has written one that will work.

Prior to Manila 2.1, I used it myself.

But when 2.1 came along they started adding timezone info to each city to support the world clock feature.

Your file has no timezone column.

So, you will need to use the other program.
[Windows Mobile Apps and Games] mike3838:
Ok, thanks for trying.

Maybe I can do it manually. It looks like the manila file you requested was a SQL Lite db file ?

If so, what app do you use to view the tables and columns of that file? Maybe I can manually add the cities I would like to the file and then put it back into my phone?

Thanks again.

-Mike
[Windows Mobile Apps and Games] JVH3:
Use the program from this thread:

http://xdaforums.com/showthread.php?t=480101

It is for the older versions of Manila, such as anything earlier than 2.0.

If you are using a Stock Rom with a Fuze, Diamond, or Touch Pro follow that link.

Or you can use Sql Lite Admin and do it manually.

The one problem you will find is that manually editing the file without changing the weather server will not help.

So, I recommend just installing the program from that thread.

Otherwise you can edit the registry to change your weather server.
[Windows Mobile Apps and Games] mike3838:
you sir are a gentleman and a scholar!

i did it using sqllite db browser, I just opened it up, saw the format for US cities, and inserted a new row. i put it all back into my phone, and the city showed up.

thanks for tip.
[Windows Mobile Apps and Games] mirost1:
Can you tell me exactly how to change the weather server, i have put my town in the list and it doesnt work, how to change the server to work? Please

HTC Mega
[Windows Mobile Apps and Games] JVH3:
HKEY_CURRENT_USER\Software\HTC\Manila\Weather.Serv erURLOverride =

"http://weather.not2advanced.com/htcweather/forecastdata.php?ac=XDADevs&locCode=%25ls&version= 1&device=innovation"

The double quotes are not actualy a part of it, but in order to make the forum not treat it as a link I had to put double quotes around it.

There is no space in ServerURLOverride. I'm not sure where it is coming from, but it is not visible when editing.
[Windows Mobile Apps and Games] mirost1:
I am not very good at this but with TotalComander i go to HK things and on my mega i have HKCU/Software/HTC/Manila and inside i have 3 things: add value, screen alignement, Weather.CurLocInfoEng. What to do now, please advice me :(
[Windows Mobile Apps and Games] JVH3:
Add Key of type of String

Put that big string in. Fun Fun Fun.

-----

Or, just install my cab and soft reset.

It will put the registry entry in for you.

It doesn't run anything or replace anythiing.

So, if you don't run it, the only change is the regsitry entry.
[Windows Mobile Apps and Games] mirost1:
One last question - i have HTC Mega, which if i am not wrong has Manila 2d, may be this is the problem with my phone, cause i saw its written this app is only for Manila 3D? Am i right?
[Windows Mobile Apps and Games] JVH3:
Just did a little reading. Yes, the Mega has Manila 2D.

This is designed for TouchFLO 3D and HTC Sense versions 2.1 or higher.

There probably is an app for your device.

If you could attach the following files, I may be able to make the ext version compatible with it.

2330fc3c_manila

It should be in the Windows folder.
[Windows Mobile Apps and Games] mirost1:
Ok i will try to find it and post it so you can make something for us Manila2D users, you will be my best friend if you do a version where we can put new cities and they work (not to see unable to retrieve data) :D

EDIT: i searched with TC under Windows, but there is no such file, there are other Manila files :(
[Windows Mobile Apps and Games] daengl:
Hello,

I'm also having the problem with the SQLite-Error. (WM 5.2.28008, Manila 2.5.19211619). Will you provide a new version of your tool or could you please also edit my attached file so that it works?

Thank you very much.

Best regards,

daengl

Edit:

I just tried to go to my weather-tab and now Manila completely crashes when opening the weather tab :(

Also uninstalling this application didn't help.
[Windows Mobile Apps and Games] JVH3:
You do realize that you zipped up a 0K file.

Meaning it has nothing in it.

Use total commander.

Go to your windows folder.

Delete this file.

It will restore the file that came with your ROM.

If you've never done that before, it seems like magic, but it's the way these phones work. ROM files can never really be deleted of modified.

When they are modified or replaced, a copy is made and that is what is seen by all programs. Deleting the file deletes this copy and original ROM file is now visible again.
[Windows Mobile Apps and Games] daengl:
Hello JVH3,

thank you for the hint, I've completely missed this detail :(

After shutting down Sense and deleting the file everything worked.

Thank you very much!

Best regards,

daengl
[Windows Mobile Apps and Games] gator70:
I installed the app. I have CF 3.5 on my phone. The app works fine, I think. When I add a location and enter the code based on what I find in accuweather all seems good. Yet the app does not add it to the database/ example: shows up in the list. What wrong?
[Windows Mobile Apps and Games] iridium21:
I got bored (my phone's out for repair) so I made another icon for WCE (it's in the .zip):

Yeah, it's not great but it was something to do :)
[Windows Mobile Apps and Games] JVH3:
I like this. The next version will have this.
[Windows Mobile Apps and Games] JVH3:
Would you mind illustrating the problem with screen captures?

A great app to get screen captures is shake and save.

If it is not included in your ROM, it can be downloaded for free from xda.
[Windows Mobile Apps and Games] gator70:
One question about the code.

NAM|US|CA|city

The phone HTC keyboard does not have the char | . So what do I use?
[Windows Mobile Apps and Games] JVH3:
Normally I select a city in the same state and then use copy. Then just edit the last part.

Or you can use any on screen keyboard. Select symbol.
[Windows Mobile Apps and Games] SouthernAtHeart:
saving weather cities

It would be great to be able to save the added cities, so that we wouldn't have to do this everytime we flash. Is this possible? I saw an article on how to do it for sense 2.1, but it must be different for 2.5 as the files they mentioned don't exist on my machine (TP2)
[Windows Mobile Apps and Games] JVH3:
It's already there.

If you use the backup, it backs up your selected cities.

So, when you restore, they are restrored for you.

Download the latest version from the 1st post.

Just don't restore a Sense 2.1 backup into a Sense 2.5 Rom or the other way either. The database in the file is different.
[Windows Mobile Apps and Games] alphaacres:
Could this feature be added when my location finds the place your at for weather just have and auto add this city to the weather?
[Windows Mobile Apps and Games] robertwww:
Little(?) problem

Hi

After installing your tool Manila dissapeared. I needed to start it again from Windows folder.

It worked fine as long as I had to restart HTC. Again, it dissapeared and needed to start manually.

Do you have any cure for it:D

Manila 2.5.19211619.0

ROM 1.48.479.1

Edit:

Solved! Used hints how to switch it on.

Thx for great app.

Edit2:

Finally deleting OK file helped. Now HTC Sense is re-opened after WeatherApp is closed.

Very useful app but gives too many opportunities to get familiar with HTC HD2 ;) Super, thx again, even I can't find OK file now - you mentioned that it will be created again automatically. Is it OK?
[Windows Mobile Apps and Games] timmymarsh:
Hey there,

I noted on your first post that you were unsure if it worked using sashumi, well i use sashumi to replace the manila file which i have already altered and to install your app. All works no probs, using Rom below.

Chow.
[Windows Mobile Apps and Games] JVH3:
Cool. Thanks. I'll update the first post.
[Windows Mobile Apps and Games] nsdragons:
how did you get this to work? i deleted the ok.txt file, restarted and it still didnt work. i then deleted the cab1_ok.txt cab2_ok.txt etc, restarted and it still did not start manilla. what am i doing wrong?

i'm using the feb26 energyrom sense2.5 on my tp2 btw
[Windows Mobile Apps and Games] SouthernAtHeart:
Many Thanks!:)
[Windows Mobile Apps and Games] robertwww:
Apart from deleting OK file, do what is described in attached thumbnails/screen captures in post 394. It is just to enable WM to switch Manila on automatically.

This is what I have done to 'repair' it on my HTC.

BR
[Windows Mobile Apps and Games] gator70:
Worked great thank you! Now it works on my HD2. However it only allows adding cities to my weather app. The phone does not sync the weather app and the home screen weather city. I can't get both to show the same city.
[Windows Mobile Apps and Games] JVH3:
Not really a problem with my app, but this is how you solve it.

Press on the big clock on the home screen.

Now, on the world clock tab, select the city that you want weather for.

By default, it uses the My Location settings, unless you pick a city.
[Windows Mobile Apps and Games] Ivanstein:
Hello. I am pretty noobish when it comes to stuff like this.

I installed the cab on the first page and edited in a couple cities. The codes were right, but the new ones turned up with something like IDS_STATE_0 and everything showed 32 and sunny. So I got to looking around and noticed the registry key has a space in it at ...&version= 1...

I removed that space and all seems well. Now it is ...&version=1...

Hope that's clearly explained.

Have a Sprint TP2 with stock ROM if that matters at all.
[Windows Mobile Apps and Games] JVH3:
Did you manually adjust the registry when installing this?

The cab should correctly put the registry entry in.
[Windows Mobile Apps and Games] babarber:
I have the same issue... but how do I get in a edit the line?? 32* and sunny... to bad its raining its butt off. LOL and my truflo stopped working!!
[Windows Mobile Apps and Games] Ivanstein:
No, I didn't manually alter the registry until after I installed the cab. I had read a bunch of posts that indicated that registry mod was needed, but this cab seemed easier to use, since it creates the registry entry automatically.

The space is in the posting of the registry tweak near the front of this thread, and just looking at it seemed odd, since other values in that string didn't have the space after the equal sign. It may be just the way the specific rom on my specific device handles it, but it worked for me.:confused:
[Windows Mobile Apps and Games] babarber:
ok, figured out how to edit it and get touchflo to work again but cant get weather for my city...still getting IDS_STATE_0

I have the ATT Tilt 2...updated the net frame to 2.5
[Windows Mobile Apps and Games] babarber:
can anyone tell me the code for New Bern, NC (28560)... I have tried the code off of accuweather and msn weather to no eval.

Thanks
[Windows Mobile Apps and Games] babarber:
GOT IT!!! US/NC/NEW%20BERN

using the mobile site helped.

Thanks everyone for the help.
[Windows Mobile Apps and Games] JVH3:
I believe that post says not to put the space there.

It's an issue with the forum.

You can't paste a line longer than a certain length or it will put spaces in.

The following was no spaces when I typed:

1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

But as you can see, every 50 characters a space was inserted by the website.

If you just install the app from the cab, there should not be any space in the registry entry.

There have been over 4500 downloads since January 4th, 2010.

If the registry entry was wrong after install, I suspect some of those users would have reported it in the last 2 months.
[Windows Mobile Apps and Games] mirost1:
Is there any way to port this to qvga Manila2d, or to make one cab to do all of it?
[Windows Mobile Apps and Games] JVH3:
Some things would need to be known:

What file stores the list of cities that you can select?

How is that data stored? (database, xml, some other format)

Is Manila 2D compatible with the regsitry mod which changes the weather server?

If not, you may still be limited to the cities that your carrier chooses to support.
[Windows Mobile Apps and Games] stylez:
There is one here it uses .xml database but the Manila2D.exe has to be patched to n2a server for it to work.

Attached HH_0409_WeatherCities.xml in case helps.
[Windows Mobile Apps and Games] mirost1:
I tried this one, the problem is patched manila messed up my phone, dont know why, so i thought someone else can make a cab that do it all. But thanx for your answers
[Windows Mobile Apps and Games] CRO_Misho:
HD 2 problem

Hi all!

When I installed Wather City Editor 3.4, the weather stopped updating.

As soon as I uninstall it, it updates normally again.

I have tried to add the City I want to database, and then uninstall it, but then everything else updates, except the city I have added.

Any ideas?

TNX
[Windows Mobile Apps and Games] zpmarques:
Hi, i have a 2.5.19211619.0 Manila version, can you update de program so that can work in my HD2? The program don´t let me add new city, it freezes when i do it, or if it let me add the city i can't do the weather update, gives me an error of conection.

Thanks
[Windows Mobile Apps and Games] danielo:
Hello,

I have exactly the same problem as guys above me. I has Topaz with manila 2.5.20113030. After I added city I want to have in database the weather update works for all original cities but not for one I added. But the strange thing is that this problem occurs only last 2 days, before it works. So it seems to be a problem with weather service. Does anybody know where the problem can be? I made softreset, reinstall the weather database editor and still nothing. Thanks for any help.