+ Reply to Thread
Page 1 of 7 1 2 3 4 5 ... LastLast
Results 1 to 20 of 125
  1. #1
    Registered User
    Join Date
    06-27-2007
    Posts
    74

    Opera Mini 4 Beta 2 (Plus info on new Java Midlet Manager) Updated: 09/08/07

    Introduction:

    Alrighty, I've been playing with the recently released new Beta 2 of Opera Mini 4. One of the, if not best, web browser available for Windows Mobile devices. This is not the same as the Windows Mobile native application Opera Mobile. Opera Mobile is nicer than Opera Mini in a few ways (supports tabs/downloading of files). But in most ways Opera Mini is superior (Much faster rendering engine, dynamic zoom, renders most web pages just like a desktop browser, and completely free). Hopefully this will change when Opera 9 comes out, but the current available version of Opera Mobile (8.65 Beta) is inferior in many ways to Opera Mini.

    A New Java Midlet Manager (Jbed):
    Opera Mini is designed to run on Java phones. Luckily HTC was kind enough to include a Java Midlet manager on the HTC Mogul, which runs Opera Mini quite nicely.

    However, in the course of doing some research I found out that xda-developers.com forum member Cloudyfa has released Esmertec's Java Midlet Manager Jbed version 20070802.2.1, available here. The Java Midlet manager built into the Mogul is Esmertec Jeodek. According to Windows Mobile expert Menneisyys, Jbed is much better (more info on Windows Mobile Java Midlets here). This version installs fine on the Mogul (in main memory). Here's some pluses with using this new Java Midlet manager.

    1.) Runs side by side with existing Midlet Manager (.exe name is different, it's "\windows\jbed.exe" instead of "\windows\jeodek.exe").
    2.) Runs using the same Midlet install base as Jeodek. So anything installed in Jeodek is also installed in Jbed, and vice versa.
    3.) Faster!
    4.) Full screen (Opera Mini looks great in full screen)!
    5.) Unlike Jeodek, properly runs the Google GMail Midlet, without certificate errors!
    6.) Uses and obeys any proxies you have defined in your connection profile! (More info here)

    Installing Opera Mini:
    1.) On your device open up Pocket Internet Explorer and navigate to http://mini.opera.com/beta.
    2.) Scroll down and tap on the "Download high memory version" link to start the install process.

    Making a direct shortcut to Opera Mini (or any other Java Midlet)

    Since Opera Mini is a Java Midlet application, one annoying aspect is that to run Opera Mini, you must first run the Java Midlet, tap on the "Applications" list item, then tap on the "Opera Mini 4 beta" item. Luckily, some industrious users out there have figured out how to create a shortcut that launches Opera Mini (or any other Java app) directly. Assuming you haven't installed any other Java apps, you need to create a shortcut file (e.g., opera.lnk) pointing to ("\windows\jeodek.exe" -run s1_), or ("\windows\jbed.exe -run s1_"), if using Jbed instead.

    The magic portion is the number after the the letter "s" in the shortcut target. This is the list position of the Java Midlet in the Jeodek/Jbed application list. If you install Jeodek/Jbed as a fresh install (non Mogul users), and then directly install Opera Mini, just use the number "0" to refer to Opera Mini ("\windows\jbed.exe -run s0_"). If you install another MIDlet (after Opera Mini), its index will become 1, then the next installed Midlet will have an index of 2, and so on.

    Locating the number that corresponds to a Java Midlet
    To find which number corresponds to an installed Java Midlet, navigate to the (windows\appdb) folder. There should be some .jar files in there, with one of them being the Opera Mini jar file (or other Java Midlet you wish to target). Whatever the number is after the letter "s", is the number needed in your shortcut link. Only the first part of the file name of the midlet is needed, so lets say, in the appdb folder, you have "s0_suite.jar", for your shortcut target, leave out the suite.jar, and only put "s0_", so your shortcut should point to ("\windows\jbed.exe" -run s0_), NOT ("\windows\jbed.exe" -run s0_suite.jar). A pre-made shortcut file can be found here.

    Creating/Modifying Shortcuts on Your Mobile Device

    The following lists a couple of ways to create edit/create shortcuts with parameters on a mobile device.

    1.) Use the excellent shareware application, Resco Explorer (the method I personally use, and find the easiest).

    2.) Create the shortcut manually using any text editor. Shortcuts have the file extension ".lnk". So, for example, lets create a file in a text editor, and save it with the file name OperaMini.lnk, the contents of the file should look similar to this :

    Code:
    28#"\windows\jbed.exe" -run s0_
    28# means that the shortcut target, including the parameter (-run s0_) is 28 characters.

    Note: A forum user has reported that the freeware application, Total Commander does NOT create the shortcut properly.

    After you have created/named the shortcut, all that is left to do is to place the shortcut file in your start menu (\windows\start menu\programs) folder.

    Skipping the Connection Permission Prompt (Only applies to JBed)
    One of the only negatives of using Jbed, over Jeodek, used to be that any time an application wanted to access to the Internet, Jbed would ask twice if you want to allow the action. It will also forget this permission next time you ran the application, so you would have to give permission every time you ran a Midlet that tried to access the Internet. Thanks to forum user g-funkster, a work around for this annoyance has been found!

    1.) Copy the file \windows\appdb\selector.utf to your PC (make sure backup this file first in case something goes wrong!)
    2.) Remove read-only attribute
    3.) Open the file with a hex editor, and find the line

    Code:
    domain=untrusted, \
    Replace the text untrusted with the text tckmax. Add space characters between the x (in tckmax) and the comma (otherwise connection warnings or a nullpointerexception error may occur). The above line may appear multiple times in the "selector.utf" file, each corresponds to a different Java Midlet you have installed in JBed.

    If hex editing is too blackhat for you, g-funkster has created a desktop application that can do this for you automatically! You can find it here.

    Personal Review:
    The new beta of Opera Mini seems faster, more stable, has better image quality, fixes a bug where I kept loosing my cookies, and it renders pages more accurately.

    Tips:
    *One of the new features of Beta 2 is better image rending quality. By default, at least for me, this was off. To turn it on go to Menu->Tools->Settings menu item, and check "Higher image quality". Then tap on the "Save" menu item, located in the lower left hand corner. There's a note on the settings page that says turning on the "Higher image Quality" option doubles the amount of transferred data, on EVDO networks I did not notice a speed difference, but I did notice that images do look a lot better now!

    *Keyboard numbers 2, 8, 4, 6 for panning Up, Down, Left and Right, respectively.
    *Keyboard number 5 for zoom in and zoom out.
    *Keyboard * to go to full screen

    Known Issues:
    * No bold font in medium font setting, at least for me
    * Some are still experiencing some cookie save issues, though for me they seemed solved in Jbed/Opera Mini 4 Beta 2.

    Running Opera Mini in Landscape:
    One of the setting options in Opera Mini is to run the application in "landscape". I recommend not using this setting. I find it's more reliable to set your windows mobile device screen in landscape orientation before launching Opera Mini rather than using Opera Mini's "landscape" mode. Opera Mini's version of "landscape" mode also awkwardly places Opera's menus on left side of the screen instead of at the bottom, as it does in portrait mode. Sliding the the Mogul's keyboard in and out tends to mess up the screen rendering/size of Opera Mini, forcing a restart of the application to fix it.

    I find a lot of times that I want to run Opera Mini in landscape mode, but I don't want to have the keyboard slid out. And placing my screen in landscape orientation requires a bunch of taps and navigation that I find annoying. In response to this problem, I have created a MortScript script that asks the user if they wish to rotate the screen to landscape mode before directly launching Opera Mini in the Esmertec's Jbed Java Midlet Manager. If you chose to run in Landscape mode, the script also reverts back to portrait mode after you exit Opera Mini. You can edit the script in any text editor to fit your needs. Place the script or a shortcut to the script on your start menu, to make launching Opera Mini in landscape mode as easy as two quick taps!

    The script can be downloaded here:
    RapidShare: 1-Click Webhosting

    Other reading/references:
    Changes since Beta 1.
    Review of Opera Mini 4 Beta 2 by Windows Mobile expert Menneisyys
    How to make a Java shortcut?.
    EsmertecJbed 20070802
    Sneak peek of Menneisyys forthcoming Midlet Manager Bible
    MortScript 4.0 download page
    MortScript example scripts
    Windows CE Shortcuts
    Link to g-funkster's "selector.utf" hex patcher (allows you to skip the allow connection prompt in Jbed)
    Last edited by TalynONe; 09-08-2007 at 05:51 PM.

  2. #2
    Registered User
    Join Date
    08-03-2007
    Posts
    14
    Thanks for the post! If it wasn't for you, I would have stuck with the default Java manager. I especially appreciate the Mogul specific information.

  3. #3
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    Question:
    I wasn't able to get it to work using jbed, is this posible? I know you mentioned it is, what am I missing? Ifollowed the directions. Is there a premade shortcut that uses jbed.exe?

    Also, is it possible to get the shortcut for other applications, say a Gmail Java app?
    Thanks.

  4. #4
    Registered User
    Join Date
    06-27-2007
    Posts
    74
    Quote Originally Posted by elgreek84 View Post
    Question:
    I wasn't able to get it to work using jbed, is this posible? I know you mentioned it is, what am I missing? Ifollowed the directions. Is there a premade shortcut that uses jbed.exe?

    Also, is it possible to get the shortcut for other applications, say a Gmail Java app?
    Thanks.
    How far did you get? Did you install the jbed Java Manager from the link above? If so, you should have an icon named "Esmertec JBed" in the programs folder on your start menu.

    I don't have a premade shortcut to jbed.exe, but you can edit the existing shortcut using Resco Explorer (linked above). Or use my MortScript script to launch Opera Mini (which can be edited in any text editor to work to your liking).

    I also explained on how to make shortcuts to other Java midlets in the "Making a direct shortcut to Opera Mini". Just replace number after the letter "s" in the shortcut target to the number that corresponds with the Java midlet you want to run. As stated above you can see the jars you have installed by navigating to your "\windows\appdb" folder.

    I haven't tried, but you may be able to use the following application:
    [New Release] Shortcut Creator V2.3 - xda-developers
    to edit the shortcut file.
    Last edited by TalynONe; 09-05-2007 at 09:46 PM.

  5. #5
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    New jbed is very nice, full screen mode looks very good. However, it appears items that are supposed to be bold aren't, err, bold. Do you see that happening also?

  6. #6
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    I did the shortcut using Total Commander CE, I installed the new JBEd, and teh JBED is working greate with operaminietc..
    However, I make the windows\jbed.exe -run s1_ shortcut, but once i do that, it loses the "e" icon and turns into a windows icon, and it won't start up operamini 4

    Also, on the second topic, when trying ot make jeodek.exe open up "-run s2_" so I can make a gmail shortcut, it gives me a suite 2 unavaialble or osmething weird like that.

    So in short, I have the jeodek working for opera mini (s1_) only,
    I'd like to have it working with jbed and working for other apps, such as gmail.


    Quote Originally Posted by TalynONe View Post
    How far did you get? Did you install the jbed Java Manager from the link above? If so, you should have an icon named "Esmertec JBed" in the programs folder on your start menu.

    I don't have a premade shortcut to jbed.exe, but you can edit the existing shortcut using Resco Explorer (linked above). Or use my MortScript script to launch Opera Mini (which can be edited in any text editor to work to your liking).

    I also explained on how to make shortcuts to other Java midlets in the "Making a direct shortcut to Opera Mini". Just replace number after the letter "s" in the shortcut target to the number that corresponds with the Java midlet you want to run. As stated above you can see the jars you have installed by navigating to your "\windows\appdb" folder.

  7. #7
    Registered User
    Join Date
    06-27-2007
    Posts
    74
    Hmm, my shortcut is targeting jbed, and I just created a shortcut to Gmail to see if I could, and it works fine.

    This is what the shortcut target looks like on my Mogul:

    Code:
    "\Windows\jbed.exe" -run s3_

    The things I would try next are:

    1.) Soft reset, try again.
    2.) Edit the shortcut in Resco Explorer, see if that makes a difference
    3.) Try the Mortscript script, and see if that behaves differently.

  8. #8
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    Whew! Got it! Total Commander wasn't working. I got the trial of Resco and that worked great. Thanks a lot you guys.
    Now I have the ideal - Press the messaging hard button on the Mogul for Gmail and the InternetExplorer hard button for Opera mini 4.2. Awesome thanks!

    --EDIT--
    By the way, I forgot to mention what a GREAT post this is. Very helpful, very informative and comprehensive. Thanks to the poster for this.
    Last edited by elgreek84; 09-05-2007 at 11:33 PM.

  9. #9
    Registered User
    Join Date
    01-11-2005
    Location
    So.Cal
    Posts
    240
    Can someone who has created a shortcut for OperaMini Beta 2 post their shortcut?

    Thanks

  10. #10
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    Edit: If you do this, make a backup of your selector.utf file first, or don't try this at all, because there appear to be issues!
    ....
    Found out how to suppress the connection popup:

    1. Copy the file \windows\appdb\selector.utf to your pc
    2. Remove read-only attribute
    3. Open the file with a text editor (I used XP's Wordpad) and find the line

    Code:
    domain=untrusted, \
    change it to
    Code:
    domain=tckmax, \
    4. Overwrite the original on the phone.
    Last edited by g-funkster; 09-06-2007 at 11:27 PM.

  11. #11
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    very nice, i'll try that in a bit. Thanks for that, I hate when it keeps asking me for a connection.

  12. #12
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    I tried it out, but when I changed that domain, it started giving me the "cannot find suite_1" etc.. suite_2

  13. #13
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    Oh boy, something must have went wrong. Try working off my version of the file (assumes you only have one item installed, in s0, but you can edit that)

    TreoCentral.com

  14. #14
    PPCGeeks-aholic stroths's Avatar
    Join Date
    06-05-2006
    Location
    Dallas
    Posts
    415
    Quote Originally Posted by elgreek84 View Post
    I tried it out, but when I changed that domain, it started giving me the "cannot find suite_1" etc.. suite_2
    Same thing happened to me. I tried using the copy g-funkster provided, but got the following error when launching the app from within the Java manager:

    The MIDlet could not be instantiated:
    java.lang.NullPointerException
    Last edited by stroths; 09-06-2007 at 11:09 PM.
    Treo 600 -> Treo 650 -> Treo 700p -Treo 700wx -> Mogul -> Touch Pro
    -You may like to flash, but your phone shouldn't LED Killer
    - It's Totally Tabular - HTC 5 & 6-Tab Home Plugins

  15. #15
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    sorry guys I don't know what's going on, it works for me, but I'll continue to look into this

  16. #16
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    No problems, definitely appreciate you trying to get this working. Plus I made a backup of the file.

    Just a note, I do have multiple java apps, not just one.

  17. #17
    Registered User
    Join Date
    07-28-2007
    Posts
    26
    Changing the domain worked for me. Also used wordpad (was malformed in notepad), found the domain entry for Opera (also had two other domain entries).

  18. #18
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    Ok, last night I was trying to get a different app to work and it gave me a nullexception error but today it works.

    What I did differently was opened the file with a hex editor, changed "untrusted," to "tckmax ," by adding space characters between the x and the comma. And no more nullpointerexception or connection warnings. If anyone can verify this, I'd be very grateful.
    Last edited by g-funkster; 09-07-2007 at 10:02 AM.

  19. #19
    Registered User
    Join Date
    06-25-2007
    Posts
    16
    Ok

    I've tested this, seems to work fine. I've written a 'hex editor' that automatically modifies your selector.utf file. Doesn't matter how many apps you have installed, each will get fixed. Requires a computer though, sorry!

    Just copy your \windows\appdb\selector.utf file into the same directory on your PC where the Fix.exe file is (within the attached zip) and run Fix.exe.

    It will create a new selector.utf and backup your original as selector.bak.utf You can then overwrite your PPC's version.

    If you don't trust the executable, you can always use your own hex editor to do the same thing. It's kinda big for a very small action, that's because it was written in Perl then repackaged into an exec. Source is also attached.

    Edit: Verified that this does work.

    Edit: I should add that I'm using the new jbed
    Attached Files
    Last edited by g-funkster; 09-10-2007 at 11:54 AM.

  20. #20
    Registered User
    Join Date
    08-02-2007
    Posts
    15
    *BIG SMILE* Thanks! Works Great! - Sorry I didn't get to try out your previous method earlier, I was waiting for a dull moment to download a hex editor and try it out. Awesome!

    One last thing, I have the Opera mini Icon, how do we make the GMail Icon? I read that you need to compile the icon into a dll file or something, is taht right?

+ Reply to Thread
Page 1 of 7 1 2 3 4 5 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts