wap.howardforums.com | FAQs | Reviews | About | Rules | Advertise | Contact  
HowardForums: Your Mobile Phone Community & Resource

Go Back   HowardForums: Your Mobile Phone Community & Resource > Smartphone/PDA/Software Forums > Windows Mobile Professional (Pocket PC)
User Name
Password
Marketplace Register FAQ Premium Mark Forums Read



Reply
Welcome to the HowardForums: Your Mobile Phone Community & Resource.
HowardForums is discussion board dedicated to mobile phones with over 1,000,000 members and growing!

For your convenience HowardForums is divided into 7 main sections; marketplace, phone manufacturers, carriers, smartphones/PDAs, general phone discussion, buy sell trade and general discussions. Just scroll down to see them!

Only registered members may post questions, contact other members or search our database of over 8 million posts. Why don't you join us today!

CLICK HERE TO REGISTER

If you have time check out our sister sites:
HowardChui.com - Where you can find the latest mobile phone news and reviews.
HowardChui.com phone gallery - See interesting pictures of phones that we've taken.
HowardForums Wiki - Our Mobile Phone Encylopedia.
Niknon.com - Our sister site about Digital Photography.
SlowFo.com - General Discussion.
 
Thread Tools Display Modes
  #1  
Menneisyys Menneisyys is offline

I've climbed a cellphone tower
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 1,829
(MY) MAJOR BREAKTHROUGH: now, you can use Opera Mini as the system-level Web browser!

You, hopefully, already know Opera Mini 4, which, currently, I recommend the most for all Windows Mobile users as the primary browser. It’s especially useful if you are on either a slow (say, GPRS) or expensive (non-flat rate) data plan and/or you also use Opera on the desktop and, therefore, can make use of the excellent, remote (!) favorite synchronization offered by Opera Link.

So far, it was impossible to quickly invoke Opera Mini from any mailer applications by just clicking / activating Web links in them. This was a major stumbling block for many, which is quite understandable. Yes, it’s a major pain in the back to having to rely on Internet Explorer (Opera Mobile, Netfront etc.) for displaying the given Web page - instead of the much faster / cheaper / prettier Opera Mini.

Of course, Pocket PC (using the new terminology, Windows Mobile 6 Professional / Classic) users have always had an escape route. They still could highlight the link and, then, copy it to the clipboard. After that, they could still invoke Opera Mini, go to Menu / Enter Address and paste the URL there. (Assuming, of course, they use a copy/paste-capable MIDlet Manager. The outdated and, unless you have specific needs or an old operating system, in no way recommended TAO isn’t one of them; the recommended Jbed is.) An example of highlighting a link and copying to the clipboard is depicted in the following screenshot:



This, however, resulted in multiple screen taps and has never been so simple as just clicking a link in the mail body and let the system invoke the browser and pass the link to it.

And, of course, the above-explained way of copying URL’s to Opera Mini doesn’t work with touchscreen-less MS Smartphone (in the new terminology, Windows Mobile 6 Standard) models. Not even with external Copy/Paste tools like VITO’s excellent, free CopyPaste.

Because of the acuteness of the problem, I’ve thought very hard on solving the problem and making Opera Mini (OM for short) a browser that doesn’t suffer from this problem. And, during a lengthy swimming & sauna session, it occurred to me how it can be solved. Yeah, it’s mostly during swimming that I get the best, most revolutionary ideas

First, the pros and the cons so that you can see what you can expect of my solution.

Pros
  1. Fully Seamless integration into Messaging (or any other mailer app), Notes, Word Mobile, PDF readers, MobiPocket (or any other text processing / viewing app) etc under ALL Windows Mobile / Pocket PC operating systems before Windows Mobile 6, on both the Pocket PC and Smartphone platforms
  2. While it’s not compatible with WM6 Smartphones (WM6 Standard devices), on WM6 Pocket PC’s, you can still pretty easily invoke OM and pass the given URL to it.
  3. It’s free and pretty easy to set up



Cons
  1. It isn’t compatible with WM6 Smartphones like the HTC Vox (s710) or the HTC Wings (s730). Sorry.
  2. With WM6 Pocket PC’s (unlike previous OS version), some additional manual work is needed, compared to the pre-WM6 cases. That is, just clicking the link won’t suffice.
  3. It will NOT work on local HTM(L) files on your device – that is, not external links. That is, you won’t be able to render a local HTML file if you click it from File Explorer. However, as it’s mostly remote links that you’ll want to view, not local files, this isn’t that big a problem.

Again, let’s emphasize it again:
  1. with WM6 PPC’s (unlike with pre-WM6 ones), you must copy the URL to the clipboard and only after this click the link!
  2. It does NOT work with touchscreen-less WM6 Smartphones (WM6 Standard devices)! That’s because of the operating system’s inability for any kind of copy/paste operation.

Installation, usage
  1. download and install MortScript if you haven’t already done so. Make sure you install it in the main memory (unless you’re ready to modify the scripts I’ve provided).
  2. download THIS file
  3. depending on your operating system version, go to either the WM5 or WM6 directory of the ZIP file downloaded in the previous step. Note that if you’re still using a pre-WM5 operating system, you’ll need the WM5 version.
  4. transfer OMInvokeAndPasteScript.mscr to \Program Files\MortScript on your device
  5. import the registry file into the Registry (WM5: OMInvokeAndPaste.reg; WM6: OMWM6DefBrowser.reg). if you do this on a MS Smartphone, make sure it is application unlocked. I’ve published several articles on (the absolutely legal) app unlock; see for example THIS

If you absolutely don’t know how the Registry import file needs to be imported, do either of the following:
  1. either get (and, even better, purchase - they DO deserve it as it’s a REALLY excellent app) SOTI’s Pocket Controller. Install it, connect to your device, click the Registry icon. Then, select Edit / Import in the new remote Registry Editor window. Search for the registry file and import it.
  2. or, get Resco Explorer. Install it on your mobile device; make sure you don’t disable the Registry editor install. Start the latter and, then, just exit it – this makes sure .REG files become associated with the Registry editor. Now, after you’ve transferred the REG file to your handset, just click it from inside File Explorer. Voila: it gets imported into the local Registry.

That’s all – from now on, clicking links in mails, documents etc. should fire up OM and pass the URL.

How you can (and when you must) modify OMInvokeAndPasteScript.mscr ?

The majority of the application logic is, in both the WM5 and WM6 versions, in OMInvokeAndPasteScript.mscr. Therefore, you’ll need to modify it in the following cases:
  1. first, the most important instruction you’ll need to modify is the second row Run("\Windows\jbed.exe", "-run sX_"), where X is either 0 or 1 (I’ve set it to 0 in the WM5 and to 1 in the WM6 script).

    As is explained in my earlier Opera Mini & Jbed-tutorial and posts (see for example THIS) , along with other people (see for example THIS), X stands for as how manieth OM was deployed under Jbed.
  2. also note that, if you have to use a pre-WM5 operating system, it’s here that you need to define your TAO / IMB J9 links. Please consult the related section in the MIDlet Bible for more info on how these links need to be created.

    Just remember the following: the Run() function requires two parameters, both enclosed in “’s. First is the executable; the second is the passed parameters. The latter string, of course, can (and with both IBM J9 and TAO, will) consist of several parameters.
  3. the script is geared towards Opera Mini 4 users. Under Opera Mini 3 (or previous versions), the initial two SendLeftSoft calls will NOT result in the “Enter address” dialog coming up. With Opera Mini 3, therefore, you will need to change the second SendLeftSoft to SendCR as follows:

    #SetClipText(url)
    Run("\Windows\jbed.exe", "-run s0_")
    Sleep(6000)
    SendLeftSoft
    Sleep(400)
    SendCR


    Note that the above code snippet has SetClipText(url) commented out (note the # at the beginning of the row). This is only needed under WM6; under previous operating systems, you MUST NOT comment it out.
  4. finally, you can fine-tune the parameters of Sleep() in the code so that OM is still reliably invoked. With the code above, for example, I let MortScript wait for 6 seconds (6000 milliseconds) before starting to emulating left softkey presses.

Quick explanation for the different behavior under WM6 (only for geeks / hackers / programmers!)

Under WM6, invoking the default Web browser isn’t any more done the same way as under previous operating systems. There, the contents of HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\ Shell\Rai\ : DEFBROWSER\1 tell the system what to invoke. Here, unfortunately, it’s impossible to define additional command-line parameters. Parameters DO get passed (in the background), but you can’t name them. MortScript, however, relies on the latter – that is, named parameters referable under their name, NOT their index.

Under pre-WM6 operating systems, it was easy to name the parameters you passed to programs as can clearly be seen in the WM5-specific Registry import file, which just overwrites the old value of HKEY_CLASSES_ROOT\ http\Shell\Open\ Command:

@="\"\\Program Files\\MortScript\\MortScript.exe\" \"\\Program Files\\MortScript\\OMInvokeAndPasteScript.mscr\" url=\"%1\""

Here, I’ve named the parameter “url”. This is why the first row in the MortScript file is as follows:

SetClipText(url)

This just instructs MortScript to copy the contents of the “var” variable (which, now, comes from the “outside” of the script) to the clipboard so that, later, it can be pasted back to the URL input field.

Feel free to quickly scrutinize the two, WM6- and pre-WM6-specific Registry import files so that you can see this for yourself.

Currently, I don’t know a way of naming parameters under WM6. Of course, when I come up with a solution, I let you all know.
Reply With Quote
  #2  
y2whisper y2whisper is offline

Phone Collector
Phone(s):
1: HTC TyTN II
2:
3:
Provider(s):
Rogers
Joined: Oct 2005
Posts: 203
I got an error message - cannot find suite s1 (but it does open up opera when i click the link)

Great idea
__________________
HTC Fuze
Rom changes regularly
8GB Micro SD
Motorola S9

Hermes Upgrade Guide

Rogers MMS & GPRS settings (Thanks Lurch!)
Reply With Quote
  #3  
Menneisyys Menneisyys is offline

I've climbed a cellphone tower
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 1,829
Quote:
Originally Posted by y2whisper
I got an error message - cannot find suite s1 (but it does open up opera when i click the link)

Great idea


That is, does it work? If it doesn't, feel free to list all the deployed MIDlets and/or post screenshots. Also, make sure you also list the Jbed version.

It should work on all devices: I've tested this on both WM5 Pocket PC's and Smartphones and WM6 Pocket PC's.
Reply With Quote
  #4  
Menneisyys Menneisyys is offline

I've climbed a cellphone tower
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 1,829
UPDATE (11/29/2007): thanks to badbob001 on my blog, now, as opposed to the initial case, WM6 devices (both Pocket PC's and Smartphones) are FULLY supported!!!!!!!

This all means there is no longer a difference between how WM6 and pre-WM6 operating systems behave. You only need to make sure to get the right .MSCR and Registry import files from the already-updated ZIP file, depending on your operating system version. That is, for WM6, get the files from the WM6 subdirectory, for pre-WM6 operating systems, from the WM5 one. And, of course, modify the scripts if Opera Mini isn't deployed as the first app under Jbed, the, by default, supported (and highly recommended) MIDlet manager.

Again: Under WM6, manual link copying to the clipboard is no longer needed and, again, it works 100% on WM6 Smartphones as well!

(note that now that WM6 is fully supported, I haven’t edited the original article; its WM6-related parts are now outdated. Again, WM6 is fully supported now and there's no difference between the usability on pre-WM6 and the WM6 platforms any more.)
Reply With Quote
  #5  
joop88's Avatar
joop88 joop88 is offline

I've climbed a cellphone tower
Phone(s):
1: Blackberry Tour
2: Blackberry Storm
3: Blackberry Curve
Provider(s):
Telus Rogers
Joined: Oct 2002
Posts: 1,128
Wirelessly posted (Opera/9.50 (J2ME/MIDP; Opera Mini/4.0.9800/209; U; en))

Works great, thanks!
__________________

EPP17.30
- 200 bonus mins (free)
- Telus to Telus (free)
- VM10 (free)
- CID (free)
- Call Forwarding (free)
- U/L Texts (free)
- MyFaves National (free)
- U/L Personal Email/IM 15
Reply With Quote
  #6  
rzanology rzanology is offline

Phone Collector
Phone(s):
1: hp 6515
2: 8125
3:
Provider(s):
cingular att nextel
Joined: Apr 2004
From: nyc
Posts: 104
is there a way to get this in a zip file to do the leg work?
Reply With Quote
  #7  
joop88's Avatar
joop88 joop88 is offline

I've climbed a cellphone tower
Phone(s):
1: Blackberry Tour
2: Blackberry Storm
3: Blackberry Curve
Provider(s):
Telus Rogers
Joined: Oct 2002
Posts: 1,128
Quote:
Originally Posted by rzanology
is there a way to get this in a zip file to do the leg work?


Really? It's like 4 easy steps, takes like 10 minutes.
Reply With Quote
  #8  
Menneisyys Menneisyys is offline

I've climbed a cellphone tower
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 1,829
Yup, and don't forget that it's 100% compatible with WM6 now, with the latest version - that is, don't let the WM6-related warnings in the original version of the tutorial discomfort you.
Reply With Quote
  #9  
staged2 staged2 is offline

Phone fan
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 19
Help!!! Install for Idiots

Can you give me idiot proof instructions on how to get this to work?? I read some of your post and I get confused as I never done any registry changes...

Thanks in advance for your help


JM
Reply With Quote
  #10  
joop88's Avatar
joop88 joop88 is offline

I've climbed a cellphone tower
Phone(s):
1: Blackberry Tour
2: Blackberry Storm
3: Blackberry Curve
Provider(s):
Telus Rogers
Joined: Oct 2002
Posts: 1,128
Quote:
Originally Posted by staged2
Can you give me idiot proof instructions on how to get this to work?? I read some of your post and I get confused as I never done any registry changes...

Thanks in advance for your help


JM


Just follow the 4 install steps in the middle of the post. You'll have to install Mortscript first and you don't have to do the registry changes yourself, install one of the 2 programs suggested and they make the changes for you. I used Resco Explorer and it worked great.
Reply With Quote
  #11  
rzanology rzanology is offline

Phone Collector
Phone(s):
1: hp 6515
2: 8125
3:
Provider(s):
cingular att nextel
Joined: Apr 2004
From: nyc
Posts: 104
even though its fairly easy this is why i asked for a cab. menn.....great work...i know the chefs over at xda gonna love this...you continue to be a major part in the community...cheers my friend!
Reply With Quote
  #12  
Menneisyys Menneisyys is offline

I've climbed a cellphone tower
Phone(s):
1:
2:
3:
Provider(s):

Joined: Feb 2006
Posts: 1,829
Quote:
Originally Posted by rzanology
even though its fairly easy this is why i asked for a cab.


I might compile one some day - now, I'm very busy with other projects.


Quote:
menn.....great work...i know the chefs over at xda gonna love this...you continue to be a major part in the community...cheers my friend!


Thanks

(and use Opera Mini - now, with this hack, it's become a REAL browser ).
Reply With Quote
  #13  
volwrath's Avatar
volwrath volwrath is offline

Mobile Pro
Phone(s):
1: HTC Vogue/Touch
2: Treo 700WX
3:
Provider(s):
Sprint
Joined: Dec 2004
Posts: 37
So is it easy to make pie the default browser again once you make these changes?

FWIW, I followed the four steps on my Sprint Touch and I get PIE still loading default pages. The only difference is I used SK Tools to import the registry changes.

Evidently the .mscr file is not being fired off correctly, because if I manually run it, I do get opera mini to open.

Last edited by volwrath : 11-30-2007 at 11:13.
Reply With Quote
  #14  
intothevoid intothevoid is offline

Phone fan
Phone(s):
1: AT&T Tilt
2:
3:
Provider(s):
AT&T
Joined: May 2006
From: NYC
Posts: 12
Great work

Menneisyys as always great work. You always come up with some really cool stuff. Thank You
Reply With Quote
  #15  
bsw11 bsw11 is offline

Phone fan
Phone(s):
1:
2:
3:
Provider(s):

Joined: Oct 2007
Posts: 14
Does this whole procedure actaully INSTALL Opera Mini as well?
I went to the min.opera.com and tried to install the large model (I am on an ATT-Tilt using a Dutty ATT Rom) and all it did was hang in IE and put me through java install HELL on Opera Mobile.
Please clarify how to get the the actual jar for the browser installed on WM6.

Thanks,

Barry
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Current time is 12:51 GMT.


Niknon.com | HowardChui.com | wap.HowardForums.com | wiki.HowardForums.com | SlowFo.com