HTC weather plugin user-agent - Windows Mobile Development and Hacking General

Hi,
ok here's the thing: the htc weather forecast plugin on the home screen (tested on htc TyTn II and windows mobile 6) connects to a remote http server to retrieve forecasts by xml.
Problem is that the mobile operator I use filters the user-agent of the http requests and only accepts the ones with "vodafone" keyword in it. Thus HTC http requests are trashed.
I already patched the windows mobile registry Internet settings to replace the current one with a "vodafone" like, but I didn't find any way to replace this HTC weather plugin http client user-agent... I hope it's not hard coded in a .dll or stuff.
Anybody has an idea about that ?
Thanks.

absu_fr,
Check this out:
http://forum.xda-developers.com/showthread.php?t=371591
http://forum.xda-developers.com/showthread.php?t=351739
Meteo should be then available though Illimythics (even if personnaly I do not like the HTC Weather plugin).
The_Steph

Related

HTC Touch Home Screen's Weather Update

Did anyone ever figure out how to get this page to update Via GPRS? Mine will only update from an AS Connection or if I happen to have WiFi on at the time. But, if I am connected using GPRS then it fails to recognize internet connectivity. (Yes, I do have wap.voicestream.com available and I am paying for the basic service).
Thanks in advance for any information you provide.
The reason could be that your GPRS connection is set through a proxy server.
I have the same problem with my GPRS.
Only if you can set the proxy address in your programs or can patch the program to except a proxy address you will be successful.
There is no other way to bypass a providers fixed proxy as far as I'm informed.
GAMBIT999 said:
The reason could be that your GPRS connection is set through a proxy server.
I have the same problem with my GPRS.
Only if you can set the proxy address in your programs or can patch the program to except a proxy address you will be successful.
There is no other way to bypass a providers fixed proxy as far as I'm informed.
Click to expand...
Click to collapse
Actually, Come to think of it, I wouldn't think it would present a problem; The Weather plug-in is part of the HTC Touch - which presumably is built to use either GPRS or whatever available at the time. Thus it should work just the same on any similar unit.
Yes you are right, but some a provider offer a few different data subscriptions.
So with certain GPRS supscriptions you have only access certain ports which are defined be the provider.
I for example have a WAP & Email flatrate supscription, which allows me to surf wap pages and receive push mail.
Without simple modifications I would not be able to also surf on http sites.
If I would use a different GPRS option from my provider I would be able to surf with no porblems or use any kind of programs accessing the web.
I once had Spb Weather installed on my XDA and was only able to use my GPRS flat with it if I had a patched .exe of Spb Weather installed so it could pass the restricted O2 proxy.
I hope you get my point.
To simplify it, if you are able to use the Live Messenger on your xda with GPRS then you should also be able to update the Touch weather plugin.
BTW - SPB mobile shell wont waste such a great space on todayscreen - which for me is important for appointments and there are no problems with weather etc.
And looks nice.
And the now screen - i´m searching
You can find more infos here: http://www.spbsoftwarehouse.com/products/mobileshell/screenshots.html?de
And in black with digital clock it looks nice.
And the menu strukture is perfekt for onehanded using.
GAMBIT999 said:
Yes you are right, but some a provider offer a few different data subscriptions.
So with certain GPRS supscriptions you have only access certain ports which are defined be the provider.
I hope you get my point.
Click to expand...
Click to collapse
I do, thanks. I will test this and see what results I find . . . .
Anyone found a fix for the weather update via GPRS/EDGE?
i tried using a diffrent access point and it didn't work at all. only way it does work is like stated before through a wifi connection
IS GPRS AND EDGE THE SAME BECAUSE I'm USED TO SEEING THE "E" but SINCE INSTALLING THE PDAVIET ROM I SEE THE "G"
THANKS
punkcell said:
IS GPRS AND EDGE THE SAME BECAUSE I'm USED TO SEEING THE "E" but SINCE INSTALLING THE PDAVIET ROM I SEE THE "G"
THANKS
Click to expand...
Click to collapse
there is a reghack:
search for "GPRS" and there msut be a value "enableDIfferGPRSicon" or something like that.
Set it to 1 and it will change from "G" = when GPRS (little slow) or "E" = EDGE (faster) is available.
lol
thats dont work for me and i am getting really pissed with the weather thingy ...it took me 2 full days to upgrade my herald to wm6 pdaviet and now the weather dont working??thats crap guys,..:/
Anyway does anyon know how can i remove the weather tab from the today screen or to replace it with something else?
Cab File
Where can I get the cab file for the HTC Touch Home Screen?
the_matrixx said:
Where can I get the cab file for the HTC Touch Home Screen?
Click to expand...
Click to collapse
I've attached the Kaiser Plugin that has five tabs instead of three.
D.Pham413 said:
I've attached the Kaiser Plugin that has five tabs instead of three.
Click to expand...
Click to collapse
Thank you.
You can get the weather working. what seems to be the problem?
The problem is the weather updates only via WiFi. The weather does not update via GPRS/EDGE.
datzent83 said:
The problem is the weather updates only via WiFi. The weather does not update via GPRS/EDGE.
Click to expand...
Click to collapse
Finally found a fix for this. Use the Touch cab or just the HTC Home DLL from this page: http://forum.xda-developers.com/showthread.php?t=319187
Mine works fine now.
Cheers,
Robbie.
HTC Home Weather + o2 surf+email-flat
Hi,
anybody managed to get HTC Home Weather-Plugin to update via o2 surf+email-pack?
I can't get the weather update working with the proxy I have to use...otherwise I'ld have to pay for the traffic.
plz help!
Anyone know offhand how to get the weather to display in Fahrenheit and not Celsius? Thanks!
Edit: Nevermind, I found it. On the City Select screen, there's a menu button with Options.
Weather panel 5 days forecast
after i installed the HTC Home plugin, the "Download weather automatically" was enabled since then. I'm wondering why the weather panel, displays only the forecast of the last update even 2days already past. It will display the current weather forecast ONLY when you CONNECT or get update through the internet. The succeeding forecast will not display until you updated. It seems the 5 days forecast is not working properly.
i noticed that after i installed the plugin, the HTC home folder was not in the /Windows folder. is this normal? do i need to copy some files into my /windows folder?
Is there any way that the weather forecast will display the succeeding forecast without updating it to the internet since there are 5 days of forecast?

Htc Home Plugin - Weather Through Proxy

Hi to all, this is my first post, sorry if I say something wrong.
I've a problem with weather plug-in, my hdspa/3g/edge/gprs internet connection is possible through a proxy server. All the other programs use this settings but the weather plugin in the package "HTC HOME" seems don't use this proxy and i can't use this feature.
However it work good through Wireless connection (without proxy).
Previous search on this forum about this problem don't have positive results in two posts some one talk about the same problem but there are not response on this question.
Thank's for any contribute.
Bye, ManuX
anyone can help me?
here's what you need to do.. connect to the internet using active sync... and then (you should not use proxy for this one) run ie go to google then update your weather plug-in in your "htc home" by clicking/choosing the weather icon on your trinity... oh before i forgot on options tab put a tick mark on all the tick boxes then exit and save ...cheers
phat01 said:
here's what you need to do.. connect to the internet using active sync... and then (you should not use proxy for this one) run ie go to google then update your weather plug-in in your "htc home" by clicking/choosing the weather icon on your trinity... oh before i forgot on options tab put a tick mark on all the tick boxes then exit and save ...cheers
Click to expand...
Click to collapse
So.....is this supposed to enable you to use the proxy now or are you just giving instructions on how to update the weather through active sync?
Updating through WiFi or Active Sync is not the problem. Weather updates are most useful when your on the go, hence, using the proxy. (T-Mobile web users)
thanks, i will try
Bye, ManuX

MMeteo (AccuWeather.com + Wetter.com in HTC today and GPS Ephemeris synchronization)

Hi,
Seeing different posts that I wanted to collaborate, I tried to "kill several birds by only shotting once".
I just programed an application that updates automatically the weather information on different program, using different sources, and the GPS Ephemeris.
With this program you can:
-Keep updated the weather Icon of Slide2Unlock and update it 3 times a day only downloading once from internet.
-Keep updated the HTC today weather with your local informations, gathering the information from any two servers, i.e. AccuWeather.com and Wetter.com
-Download once every 2 days the GPS Ephemeris information to get a quick GPS fix.
Why wetter.com additionally? wetter.com is proved to be more accurate and it provides more information (for example time of the day forecast).
Why not using the normal HTC today update system? With MMeteo you can specify from which server to download from, and in this way you can download from your own local weather info.
Additionally, it sets the Title with the information from another weather information source, and it is updated 3 times a day with only one download a day from internet.
Why another application to download the Ephemeris? This applications allows to specify from where to download, and if one server is not working (which has happened several times with the default one service.mio-tech.com), it is possible download from another server.
Why everything together? It is just more efficient than having different applications programmed to be started automatically periodically, connect to internet and download. Also it is possible to set the program only to do one thing, (i.e. only updating the GPS Ephemeris data).
Additionally, it emulates a WAP browser in all internet connection. This makes possible to keep everything updated for free using any of the WAP flatrates like o2flat in Germany or o2 flatrate in UK.
Neither the Windows Mobile application to download GPS Ephemeris nor the HTC today plugin work on these flatrates. With MMeteo it is possible to keep everyting updated for free using one flatrate connection.
To download it:
http://www.aldeaglobal.net/mmeteo
I was based on (and I have to congratulate) the following great applications:
HTC Homeplug Weather fix:
http://forum.xda-developers.com/showthread.php?t=319187
HTC Homeplug personalization:
http://forum.xda-developers.com/showthread.php?t=324556
Slide2Unlock: (not S2U2 because at the moment only Slide2Unlock can show Weather Info):
http://forum.xda-developers.com/showthread.php?t=304826
http://forum.xda-developers.com/showthread.php?t=343256
Automated quick GPS:
http://forum.xda-developers.com/showthread.php?t=292178
The program can be personalized only by editing a .ini file.
Detailed, this program does the following (copied from the source):
-For all the internet connections it performs, it emulates exactly the Pocket Internet Explorer, in this way it is compatible to all Wap Flat rates like the o2flat from Germany, or o2 flat rate from UK.
-It sets itself to autostart the following day at updateTime, and also at middayStart and nightStart
(at updateTime (the first run of the day) is when it sets the autostarts for the following day)
-Once every EphemerisDaysToWait it downloads the file from URLephemeris and copies it to FILEephemeris
-Once per day, at updateTime, it updates form internet the files FILEaccuweather from URLaccuweather, and FILEwettercom from URLwettercom
-Once per day, at updateTime, it updates the HTCtoday plugin with information from FILEaccuweather
-Three times per day,at updateTime, at nightStart and at nightStart, it updates the HTCtoday Title with information from the file FILEwettercom
-Three times per day,at updateTime, at nightStart and at nightStart, it also updates the registry registerKey1/registerKey2 with the information taken from the file FILEwettercomToRead
(this is usefull for example to update the weather information from the program Slide2Unlock)
-It updates the registerKey1/registerKey2Userdata with the value registerKey2UserdataValue
-It also sets to autostart the program FILEprogramToStart to start at updateTime before updating from the files
-If you want more information about weather you can open locally with the pocket Internet Explorer the file FILEwettercom, and if you have the icons in the same folder you will also see the prediccions graphically (add the file to favorites or create a shortcut to the FILEwettercom
Marti
Post still empty
you said "With MMeteo you can specify from which server to download from, and in this way you can download from your own local weather info."
so -how to do it? I found nothing in the info
You only have to open the mmeteo.ini file with a text editor, and change the server there. Inside this .ini file there are several parameters to personalize the program behavior.
To change the server from where to download from (and set for example your own server using this script), you have to change the value of URLaccuweather.
If you want, you can also add to download (additionally) from another server with the format of Wetter.com. For this case, either change the value of URLwettercom or if you set your own server with the included php script meteo-wettercom-pda.php then you have to enter it at URLwettercomfitered.
you mean i should only modify one string in ini-file and everything will work??
if i, for example, want to use http://www.gismeteo.ru/towns/27612.htm
Exactly. It is only needed to modify the .ini file to change the server.
The server you mentioned is in Russian, you should put a "translator" in the middle. I Mean, a php script in a internet server that downloads the weather info and adapts it. Then the MMeteo should call this php script and not the Russian web page. This method has the advantage that you can minimize the traffic needed to get the weather info.
Hi,
Nice work on MMeteo! Being a user of the O2 wap flat and I really like the WAP browser emulation! I think I got the program running OK, but I'm not sure with the weather data. After running MMeteo.exe there is some updated text weather information on the HTC home plugin field but the icons do not appear, instead the weather plugin still complains about 'no data'. Is it possible to display the proper weather icons with HTC Home plugin with the data extracted from wetter.com/accuweather.com?
I use a HTC Artemis with a cooked ROM, where HTC-home is installed in the ROM (\WINDOWS directory).
Anyway, the Epheris update works!
C.
Thank you for this app, i've stopped paying attention to the accuweather plugin cos it's never accurate for my town.
So from i read you can pick your own weather server? Perhaps people could post weather servers as they find them and we can build up a list. I'd like to use the bbc or the met office. I'll go have a look shortly to find the server. Must admit i've no idea what i'm looking for!
Cheers!
I'm having problems getting this to run
Dumped the files directly into the Windows folder but when I try and launch the exe it says that it can't find the ini file
Any ideas?
Ok, got past that bit
Think I know need the webpage in html
The program sound interesting, but I can't get it to run. Thanks for any help.

T-Mobile wing 5.99 weather?

PuffyTacos said:
...If you heavily use the net on your phone, then maybe the full plan would be best for you, but if you are only a lite user, the 5.99 is much more practical for e-mail, weather, etc.
Click to expand...
Click to collapse
i dont see how he uses the 5.99 plan for email or weather.
the only weather program(actually plugin) is htc home. and thats with the htc home proxy patch
how can i use my 5.99 plan to check weather?(on manilla themes, miniColour theme, etc.)
well, one guesses that he uses HTC home weather plugin.
My guess is that other plugins/programs will have to be specifically modified like the HTC home proxy patch to do the same.
fzzyrn said:
well, one guesses that he uses HTC home weather plugin.
My guess is that other plugins/programs will have to be specifically modified like the HTC home proxy patch to do the same.
Click to expand...
Click to collapse
damn cuz im really liking this miniColour theme(http://forum.xda-developers.com/showthread.php?t=413776) but no weather. it updates with mortscript and yahoo weather so im pretty sure it cant be modified like the proxy patch
do you know what the proxy patch does and how it works? If it's simply setting a proxy, i see no reason why one can't be set for your theme.
Is it possible to set a sort of a global proxy through which ALL outgoing gprs connections are sent? THAT would be the answer to your problem.
its under htc home registry and a new htc home.dll
but ill see if i can find a universal proxy somewhere.
oh maybe ask some one with a dash and a wing and see if they both have the dash 5.99 full internet hack.
If you would like to check the weather, just open opera mini and navigate to m.weather.com.
Is that what you're looking for?
PuffyTacos said:
If you would like to check the weather, just open opera mini and navigate to m.weather.com.
Is that what you're looking for?
Click to expand...
Click to collapse
i think they wanted the full integration of the weather section on the htc home plugin. i had the 5.99 plan for a day or two, but no instant messenger programs worked, no built-in weather (on spb mobile shell, htc home plugin, etc) worked seamlessly, and email didnt work for me. People said that the tzones hack wasnt noticeably different in speed than the total internet add on, but i can notice it. the total add on is MUCH faster and you get full capability with email, weather, IM, and more.
I have the 5.99 internet plan on my Wing. Weather for the HTC Home plugin was always hit and miss. I've heard you can open a browser, and when it's connected to the internet you can minimize and check the HTC Home weather and it works. Seems like too much just to get the weather. I currently check weather using the Spb Menu 2.1 and it updates weather fine, I can browse using Opera no problem. E-mail has to be configured using a different connection without T-Mobile's proxy added (at least that's how it worked for me). Just an FYI tho, don't know if it's this way with other devices, but any time I made any changes to the connections (T-Mobile Data, T-Mobile MMS) the changes don't take effect til you soft reset. Best way I've found is just use the Network Wizard in Connections to get internet set up on the device. Other than that, even with the HTC Home proxy fix, I still couldn't get it to work reliably.

[UPDATED 2009-11-24] Company proxy problem - there is a solution (start checking #2)

Hi all,
As far as I know anybody that needs to connect to the internet through a company proxy (3G or wifi), using Win Mobile 6.1 or 6.5, is facing "big problems".
From what I found doing some searches here in xda and in the internet this seems to be due:
- to a "bug" in the proxy configuration sw that keeps to "0" (instead of "1") the "Type" field of the HTTP-{xxxxxxx} key in HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}. In other words is like keeping NullProxy configuration insead of HTTP... But this seems to be an "old bug", now the correct configuration is properly saved (I checked in the 6.5 rom I am using and I can confirm).
- But even if the correct configuration is there the proxy password it is ignored, at least for HTTP (source: http://msdn.microsoft.com/en-us/library/aa455855.aspx )
For that reason, in my experience, the only programs that can access the net are Internet Explorer and Opera, that allow the user to insert account and pw of the proxy and go ahead... And this should confirm that only the configured proxy address is properly used, not the stored account and password...
But now the "surprise":
I can confirm that the following 4 roms ALLOWED ME TO SURF THE NET TRHOUGH A PROXY WITHOUT ANY PROBLEM !!!
I mean update the weather, use GoogleMaps, use MusicID, check sw updates, update GPS data... and so on !!!
The named roms (for the HD) are:
WM 6.5: (NEW !!!)
[ROM][WWE] XannyTechROM GRID LEO M2.5 ROMS (all versions)
(Note: only with the proxy password saved also in Internet Explorer...)
WM 6.1:
[ROM][WWE][24.07.09][21051.1.6.4]-=® panosha ® =-Black Pearl v 3.4 ("open" ROM, as the author says in his first post)
[ROM][ITA][14/04/2009] LP HD EVO II (5.2.21041 build 21042) Latest Manila
And now the question, as the solution must exist:
Where should we look to find the proper configuration in order to finally use it in all other roms ??
I started checking from the registry, but with no success..
I really hope to see some interest in this, as I understand it is not a "really common" problem...
Regards,
K
THE SOLUTION ... or at least the "very beginning" of it !!
I start suspecting that when the proxy password is saved also in Internet Explorer the chances to be able to use a company proxy with password are increasing... but I still do not understand...
What follows is what I noticed:
- In the WM 6.5 XannyTech ROMs I am using before saving the IE proxy password ONLY the quick GPS update was working (weather update, google maps, ecc. were not able to connect...). This actually means that both account and password of the configured proxy where properly used... but only from the quick GPS progam...
- When I saved the IE proxy password ALL programs that are using the network properly worked... that means that all programs properly red the proxy address stored in the "network section" and the proxy password from IE...
Can somebody try with other ROMs ??
Regards,
K
PS: And why with other ROMs this does not seem to allways happen ??
me 2, the same issue.
I have been trying but still unsuccessfull.
I hope someone can find the solution for this.
Found new rom working
I found another HD rom working properly:
[ROM][WWE] XannyTechROM GRID LEO 1.7b M2.5
So, as I said, a solution exists... but where ??
Regards, K
(PS: First post updated)
Updated post #2
K
PS: Actually I wrote this post mainly to keep the thread "in the first page"... sorry about that !
I'm using Kisja's WM6.1 ROM (thread) and cannot get proxy to work at my university. I can access local sites, which probably means that there is something wrong with the proxy settings.
But here comes the weird thing: I can check mail through the standard WM e-mail client, and this works great, but I cannot update Manila weather nor surf the web! I've tried both Opera and IE without success.
longice said:
I'm using Kisja's WM6.1 ROM (thread) and cannot get proxy to work at my university. I can access local sites, which probably means that there is something wrong with the proxy settings.
But here comes the weird thing: I can check mail through the standard WM e-mail client, and this works great, but I cannot update Manila weather nor surf the web! I've tried both Opera and IE without success.
Click to expand...
Click to collapse
Just to be sure that I understood: are you using account and password to connect to the proxy, or only the address ?
In may case, I use account and password.
And, just to share, some other little things:
- Not all programs are working through a proxy with account and password... for example Midomi works only through a proxyless connection
- This, toghether with what alreay noticed in the previous posts, confirms that there are programs able to use WM proxy configuration and others not...
We will see...
K
I think that it may be based on the WM build # and what has been removed.
I know I would try dasense's daG's latest kitchen (or equivalent for your phone) without excluding any windows sys packages or certs and running the latest com5 build. 23515.5.5.0
Everything that I've tried works through my company proxy currently.
kostas66 said:
a "bug" in the proxy configuration sw that keeps to "0" (instead of "1") the "Type" field of the HTTP-{xxxxxxx} key in HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\
Click to expand...
Click to collapse
If found the responsible for this (at least from what I'm seeing : you have a company proxy set up on your USB ActiveSync connection and as soon as you do a sync the "Type" field goes from "1" to "0" thus disabling the proxy.
You'll find a key in "HKEY_LOCAL_MACHINE\Services\App\Tasks" that is something like "DisableProxy", delete this key, restart the phone and you'll be all right.
It seems to me that this is a HTC feature; on some rom it is enabled, not on others... go figure (and I don't know why such a feature exists)
Regards,
Stéphane.
thanks alot
Hello all, I found the solution.
You must:
set the proxy in the APN configuration
connect to the net via Internet Explorer
fill the username and password in Internet Explorer and SAVE it
that's all
This worked for me with the plain rom in the HTC HD2

Categories

Resources