PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Software
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9 (permalink)  
Old 05-15-2009, 07:18 PM
pringlet's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Epic 4G
Carrier: Sprint
Location: WYO
 
Join Date: Jan 2007
Posts: 194
Reputation: 340
pringlet is becoming a PPCGeeks regularpringlet is becoming a PPCGeeks regularpringlet is becoming a PPCGeeks regularpringlet is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to pringlet
Re: Weather Watcher Mobile (version 1.0.17)

This is a very nice weather program it's very comprehensive and has detailed weather alert information. The problem is that on most of our devices Opera is the default HTML viewer. Rather than switch to IE, this person on Singer's Creations forum has found the way to keep Opera as the default viewer and just open IE for Weather Watcher. It's a good hack and worked on my Touch Pro.

Thanks goes to WMM on http://www.singerscreations.com/Foru...49c9d&start=15

QUOTE:
I've managed to get Weather Watcher to function on my AT&T HTC Fuze (HTC Touch Pro) with Opera still installed as the default browser. This is a really cool app -- thanks! -- so I wanted to share what I've learned in hopes that it will help someone else. (This assumes that you're at least passingly familiar with editing the Windows registry.)

It appears that Weather Watcher just creates .html files for the various views and then launches them. That relies on the normal file association mechanism, i.e., it uses the value of the registry key HKCR\.html\Default as an indirect to another key in HKCR to determine the launch action. With Opera as the default browser, that value is _htmlfile_Opera, so Windows executes the command given in HKCR\_htmlfile_Opera\Shell\Open\Command\Default to launch the .html file.
The simplest edit would be to change the value of that key, HKCR\_htmlfile_Opera\Shell\Open\Command\Default, from its default value of "\Windows\OperaL.exe" "%1" to
iexplore.exe file: %1
However, making just that change would leave the icon for the various files in File Explorer as the Opera icon instead of the Internet Explorer icon. It also changes the file associations for several other suffixes, not just .html files. Also, it just "feels wrong" to change the application referred to in a key named _html_Opera to be something other than Opera. I wanted to make the change with the smallest impact possible and also to be consistent, so what I did was:

1) Clone the HKCR\_html_Opera subtree to a new subtree named _html_iexplore (this is really easy in Total Commander's registry editor, I don't know about others).

2) Change HKCR\_html_iexplore\DefaultIcon\Default to have the value iexplore.exe,-1003.

3) Change HKCR\_html_iexplore\Shell\Open\Command\Default to have the value "iexplore.exe file: %1" (without the quotes).

4) Change HKCR\.html\Default to have the value _html_iexplore.
This still leaves the file associations for .htm and .xml using Opera instead of Internet Explorer.
Anyhow, Weather Watcher now works, and Opera is still the default browser for everything except local .html files.

Hope this helps.

:QUOTE

It would be great to get an update to this app so that it played nice with Opera.

[pt]
__________________
Find my youtube videos here http://www.youtube.com/user/wrxman260
Reply With Quote
This post has been thanked 2 times.
 

  PPCGeeks > Windows Mobile > Windows Mobile Software


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:51 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com