Shortcuts to Java applets different? - Touch Pro, Fuze General

I saw that my Fuze had several shortcuts to different java apps already pre-loaded and the .lnk files looked somewhat different. I was hoping someone could clarify what I need to do to make a shortcut to Opera Mini.
I deleted most of the default apps, but kept the Wikimobile one. The contents of the .lnk are:
Code:
24#\Windows\jbed.exe -run 3 ?\Windows\Java_Game.dll,-143
Currently, it and Opera Mini are the only two apps I have installed. This shortcut works regardless of how many other apps are installed/removed (not dependant on -run s#_ as on previous devices). Could someone tell me what the shortcut should read for Opera?

there is something in the buttom
http://wiki.xda-developers.com/inde...ini 4.1: FULL multiplatform tutorial & review

Related

TUTORIAL: Create links to the programs in your Settings menu

TUTORIAL: Create links to the programs in your Settings menu! A full explanation & never-before-published, full comparison list
An often-asked question concerns how you can set up direct links to the control panel applets (CPL's for short) in Start/Settings.
What's the point in all this, you may ask. Why not simply tap Start and, then, Settings and, finally, the icon you want to execute?
Yes, for a casual user, there's not much need in creating self-standing links to these files. There're, however, cases when this can prove really useful – for example, the case of including them in Today launcher plug-ins that, otherwise, don't let access to any of these applets otherwise. A well-known example of plug-ins like those is Resco File Explorer's excellent Today plug-in or in the free cLaunch. (Please see this (alternatives: iPAQ HQ, AximSite, PPC Magazine, FirstLoox, BrightHand) for more info on these excellent applications and the alternatives.)
Most of these settings are invoked from a central dialog file, \Windows\cplmain.cpl. Some additional, custom settings may have been put in a separate file, \Windows\mycpl.cpl. Finally, third-party applications that install their own settings dialogs create their own .cpl files inside the \Windows directory. For example, SOTi Pocket Controller (see this article on it) creates a file DeviceConfig.cpl, Mad Programmer's FileDialogChanger (see this article on it) uses a file named filedlgchg.cpl to offer the user the File Dialog Changer settings, Mad Programmer's Force Hi-resolution tool (see this article on it) puts a ForceHires.cpl file in there etc. The same stands for Spb Pocket Plus, MS Voice Command (please see this article for a full roundup of all voice controller apps) and XCPUScalar.
What should I do?
It's simple: create a .lnk file with the following contents:
33#ctlpnl.exe cplmain.cpl,X
OR
33#ctlpnl.exe mycpl.cpl,X
where X is a number that I'll promptly elaborate on.
As has already been pointed out, only one file, cplmain.cpl (or, with some device, mycpl.cpl in addition) contains most of the settings accessible in Start/Settings. One file containing many small applets also means that you need to choose a particular one in some way. That's why you must index the file; this numeric index (1, 2 etc.) tells cplmain.cpl which particular applet you'd like to access.
As far as the possible values of this are concerned, there're standardized ones. If you check out the "iPAQ 3660" column in the comparison chart available here (and disregard the 3 - Power record and everything starting with "MyCpl – 0"), you'll see what you can expect from any Pocket PC 2002+ Pocket PC.
Note that WM2003 added the standard 22-Manage Certificates and WM5 the standard 24-Error reporting and, with most WM5 Pocket PC devices, 25-GPS. Also, Pocket PC Phone Edition devices, regardless of their operating system version, also use the 20 - Phone Settings index. Finally, all Pocket PC's with the Microsoft BT stack use 23 – MS Bluetooth too. (Devices with the Widcomm BT stack use the separate \Windows\BTConfigCE.cpl CPL.)
It's also very important to point out that 3 – Power and 6 – Backlight is not necessarily available in all devices. For example, the iPAQ 2210 lacks both, the iPAQ 3660 lacks 6 – Backlight , while all the other listed devices have them all.
Also note the records starting with MyCpl are, as you may have already guessed, non-standard ones. It's there that the two iPAQ's have some essential applets (Backlight and, with the 2210, also Power) and some additional goodies.
Please note that lists compiled by others (for example the XDA-Developers one) are not generic enough and may contain several mistakes. Therefore, it's best not to rely on them at all. Also remember that you can freely test any indexes – you won't crash your Pocket PC if a particular index is unused.
You don't want to manually create .lnk files?
No problem, I've already done it for you! Just download this file and extract the link file(s) you'll need.
Note that the root directry of the ZIP file only contains CPL links that are guaranteed to work on all PPC2k2+ devices. I've put the additional ones in subdirectories – for example, links belonging to later operating systems (directories FromWM2003 and FromWM5), the 3 – Power and 6 – Backlight PCL's, the MS BT stack link and the PPC Phone Edition Phone Settings link.
Also, there's a separate subdirectory 'mycpl' for (unnamed – as you can also see in the comparison chart, indexes are wildly different between different devices) MyCpl link files.
Hope you'll find this information / my files useful. I really hope you'll like the new ability to include all this functionality in the Resco Today plug-in and/or cLaunch – or, for that matter, your operating system-level scripts!
Also a little bit more info on this subject + an icon extractor:
http://forum.xda-developers.com/viewtopic.php?p=223602#223602
V
When I put the link in my /windows/startmenu folder it's deleted after soft-reset of opening my start menu. What can I do about this and why is it happening?
What icon are you putting in there?
V
vijay555 said:
What icon are you putting in there?
V
Click to expand...
Click to collapse
It's a file I called Running.lnk with the following line:
Code:
22#ctlpnl cplmain.cpl,4,0?shellres.dll,-13900
I noticed that after soft reset or clicking the start menu this file is moved to the /windows/startmenu/programs folder. And thus appears in my programs list. But what I want is this link in my Start Menu.
Very odd.
Try making the shortcut as you've done, put it in your normal start menu, and then make a lnk to the lnk. Put the lnk to the lnk in your startup, and see if that makes any difference.
You could try my program VJBrisk as well. I can't even think what it does now, but it might help.
V
I tryed making another link to the first one and putting it in the startup but it didn't make any difference.
After this i tryed putting the lnk in the startmenu folder and at the same time removing another lnk file. And voila , it workt. Seems that wm5 keeps track of the amount of lnk files that should be in the startmenu folder. Makes sense because there is a limit to how long your startmenu can be.
Thanks for your help
ps. I changed the line in the link file to the following. This way it has the memory icon.
Code:
22#ctlpnl cplmain.cpl,4,0?shellres.dll,-13900

IBM releases new version of great Midlet runner J9; now, it’s Gmaps-compatible!

Ever wanted to run the same midlets (small Java applications) on your Pocket PC as on your mobile phone? Ever wanted to use the great alternative Web browser Opera Mini or the great mapping software Google Maps on your Pocket PC? Read on!
It was over half a year ago that IBM released the last, 6.1.0 version of their well-known Personal Java / Midlet environment J9 (read the tutorial here).
As with the previous version, the distribution isn’t available on major Pocket PC software resellers like Handango; only on IBM’s official download page. You will need to register yourself in there in order to be able to download the environment – Personal Profile (PP) if you need to run smaller, PP-compliant (!) stand-alone Java applications (NOT Java applets inside Pocket Internet Explorer / Internet Explorer Mobile – IBM J9 has never supported them!) and the MIDP 2.0 version if you want to run midlets like the above-mentioned two "killer" midlets, Opera Mini or Google Maps. Note that the Midlet version, as with the previous 6.1.0 version, comes in two flawors: a VGA and a QVGA one. If you have a VGA device, get the former.
After downloading (make sure you also get the installation instructions PDF file and don’t mistake Windows CE 5 for Window Mobile 5 – you’ll need the latter only), execute the file (it’s been downloaded to c:\DownloadDirector\) and extract c:\Program Files\IBM\WEME\runtimes\61\wm50-arm-vga-midp20\weme-wm50-arm-hires-midp20_6.1.1.20061110-161633.zip (VGA MIDP), c:\Program Files\IBM\WEME\runtimes\61\wm50-arm-midp20\weme-wm50-arm-midp20_6.1.1.20061110-161633.zip (QVGA MIDP) or c:\Program Files\IBM\WEME\runtimes\61\wm50-arm-ppro11\weme-wm50-arm-ppro11_6.1.1.20061110-161633.zip (Personal Profile). Transfer the contents of the (unpacked) bin and lib subdirectories anywhere on your Pocket PC (note that the installation instructions instruct you to copy these two directories under \J9\MIDP in the main storage. This isn’t needed: a storage card will do too) and, then, do what “Installing and running a demo MIDlet” (the MIDP version) or “Running a demo application” (the PP version) states. Note that you can (and, if you plan to install many midlets, should!) still use the registry import script I’ve provided (see the “My registry script” section in my previous tutorial) for 6.1.0 to greatly ease midlet deployment; as with the previous version, make sure you change all occurrences of “\\SD Card\\J9-MIDP” to the current path of your J9 home in it before importing.
Screenshots of the new version running Opera Mini 3.0.6540 Advanced (also see this article; the JAR file is available for download here; simply download it and click on it after transferring it onto your PDA and importing my above-mentioned registry import file if you don't want to deploy it by hand, in the very awkward way the official IBM documentation recommends) on my WM2003SE VGA Pocket Loox 720: 1 2; on my WM5 VGA Dell Axim x51v.
Note that, when I tested, neither the “mainstream” nor the “high-end” version of Google Maps worked with neither the latest Intent Midlet Manager (THE Midlet manager for Pocket PC Phone Edition users; do read the article if your current PPC PE device is not the latest one and has an old(er) ROM on it) nor J9 6.1.1 (screenshots: former; latter; another screenshot of Intent running Opera Mini 3.0). Other users, however, reported success and flawless execution with GMaps – with both J9 6.1.1 (as opposed to the very slow 6.1.0) and Intent (click the links for user reports).
Unfortunately, the new version still doesn’t make use of the WM5 softkeys, unlike the new version of Intent Midlet Manager, in which the whole interface, all yes/no questions etc. (and, of course, all apps like Opera Mini) work just great via the WM5 softkeys.
Please note that I haven’t tested the WM5 compliance of the new Personal Profile J9 version (its WM5 compliance was (still?) rather problematic with 6.1.0) – now that Toonel, the, for Pocket PC users, most important Personal Profile-based Java application, received a native Windows Mobile version, there’s no point any more in using the Java-based one on the WM platform.
I just had a look on the site - am I correct in understanding that this release has no support for PPC2003SE edition phones?
I downloaded the previous version of this, which also worked with Google Satelite Maps, but didn't work with the GMail application (couldn't connect to network error) or the Opera Mini application (becuase the program doesn't have an even that fires after entering text in a textbox, meaning that searches never get executed, and links were unable to be clicked)
CJBS said:
I just had a look on the site - am I correct in understanding that this release has no support for PPC2003SE edition phones?
I downloaded the previous version of this, which also worked with Google Satelite Maps, but didn't work with the GMail application (couldn't connect to network error) or the Opera Mini application (becuase the program doesn't have an even that fires after entering text in a textbox, meaning that searches never get executed, and links were unable to be clicked)
Click to expand...
Click to collapse
It supports WM2003+; it's just that they list it as a "WM5" version.
IBM Midlet Manager - 6.1.1 - working on Blue Angel PPC2003SE
Works
Well, I got it working on my Blue Angel PPC2003SE. Google Maps, Opera Mini, and the GMail app all work fine.
Directory Structure
It's a bit of a troublesome installation process. I don't know why they didn't just have an installer like the 5.7 version. Still, I was able to install it to my storage card. My directory structure is as follows:
\Storage\IBM Midlet Manager\ (with no contents)
\Storage\IBM Midlet Manager\bin
\Storage\IBM Midlet Manager\lib
Shortcuts
It's possible to create shortcuts to individual applications by creating a shortcut, and then setting the parameter to the index of the Midelet as seen in the Midlet Manager. For example, I've got a shortcut to the Opera Mini app (which appears first in the list when running the Manager). It's shortcut is as follows:
"\Storage\IBM Midlet Manager\bin\emulator.exe" "-Xjam:run=1"
The "1" at the end is the index of the applicaion to run. So, in my case, "2" would be for the GMail app. It's actually possible to substitute the index "1" with the storage name for the application, however I was unable to find out how to retrieve the storage name. (It is possible to use the -Xjam:list parameter to list the storage names, but these aren't output to a dialog, and I don't have a command line program on my PPC.) Using the storage name would be better, as it would mean that each time a new application is uninstalled, the other shortcuts affected wouldn't need to be updated as a result of their indexes changing.
Font Files
It's possible to change the fonts used in the Midlets, too. There's a file in the lib subdrectory (in my structure, it's \Storage\IBM Midlet Manager\lib\jclMidp20\fontPaths.properties). Just substitute the names of the fonts with fonts that exist on your PPC. For example, to display Chinese characters, I substituted LcduiSystemFont: Windows\tahoma.ttf to become LcduiSystemFont: Windows\sunglobe.ttf - note that I have the sunglobe.ttf file in the \Windows directory. This may not work with all fonts. Ensure that when editing the file, it is saved in ANSI format, not Unicode (otherwise the MIDlet Manager won't load).
Gmail App
Note that in order to use the Gmail app, which is still in Beta, you'll need to have your language set to "English - US". THis can be done on the PC on the Gmail.com site by clicking Settings.
Google Maps - Fatal Error (upon loading)
Initially, after installing Google Maps, I was unable to run the aplication. The app would load the first part of the Terms and Conditions page, wait for about 20 seconds, and then present a dialog "Fatal error. Please exit and restart." I noted that it didn't even try and connect to the Google Server (as per the network data window, part of an app I have on my PPC). It turned out that I had another midlet (map-related - I can't remember the name) that used the Google Maps server, amongst other map data providers. I uninstalled both this applicaion, and the Google Maps application, reloaded the Midlet Manager, and then re-installed the Google Maps application. It then worked.
Google Maps - Hong Kong maps
Google has recently introduced road map files for Hong Kong, China (search for Hong Kong, China on the web at http://map.google.com, and you'll see it). However, when I use the Midlet Version, the (road) maps for Hong Kong don't exist - it seems that the PC version and the Midlet version are sourced from different locations/servers...
PenPower conflict
I use the trial version of PenPower on my PPC. This allows input of 50 drawn Chinese Characters per device reset. The first time that a character is drawn, this interfers with the main window process on the device and causes a lock. If running the Midlet Manager with this program, the Midlet manager may seem to stall. If this is the case, simply draw another character (or just a squiggle), and the lock will be broken, leaving the application to continue running.
CJBS said:
Works
Well, I got it working on my Blue Angel PPC2003SE. Google Maps, Opera Mini, and the GMail app all work fine.
Directory Structure
It's a bit of a troublesome installation process. I don't know why they didn't just have an installer like the 5.7 version. Still, I was able to install it to my storage card. My directory structure is as follows:
\Storage\IBM Midlet Manager\ (with no contents)
\Storage\IBM Midlet Manager\bin
\Storage\IBM Midlet Manager\lib
Shortcuts
It's possible to create shortcuts to individual applications by creating a shortcut, and then setting the parameter to the index of the Midelet as seen in the Midlet Manager. For example, I've got a shortcut to the Opera Mini app (which appears first in the list when running the Manager). It's shortcut is as follows:
"\Storage\IBM Midlet Manager\bin\emulator.exe" "-Xjam:run=1"
The "1" at the end is the index of the applicaion to run. So, in my case, "2" would be for the GMail app. It's actually possible to substitute the index "1" with the storage name for the application, however I was unable to find out how to retrieve the storage name. (It is possible to use the -Xjam:list parameter to list the storage names, but these aren't output to a dialog, and I don't have a command line program on my PPC.) Using the storage name would be better, as it would mean that each time a new application is uninstalled, the other shortcuts affected wouldn't need to be updated as a result of their indexes changing.
Font Files
It's possible to change the fonts used in the Midlets, too. There's a file in the lib subdrectory (in my structure, it's \Storage\IBM Midlet Manager\lib\jclMidp20\fontPaths.properties). Just substitute the names of the fonts with fonts that exist on your PPC. For example, to display Chinese characters, I substituted LcduiSystemFont: Windows\tahoma.ttf to become LcduiSystemFont: Windows\sunglobe.ttf - note that I have the sunglobe.ttf file in the \Windows directory. This may not work with all fonts. Ensure that when editing the file, it is saved in ANSI format, not Unicode (otherwise the MIDlet Manager won't load).
Gmail App
Note that in order to use the Gmail app, which is still in Beta, you'll need to have your language set to "English - US". THis can be done on the PC on the Gmail.com site by clicking Settings.
Google Maps - Fatal Error (upon loading)
Initially, after installing Google Maps, I was unable to run the aplication. The app would load the first part of the Terms and Conditions page, wait for about 20 seconds, and then present a dialog "Fatal error. Please exit and restart." I noted that it didn't even try and connect to the Google Server (as per the network data window, part of an app I have on my PPC). It turned out that I had another midlet (map-related - I can't remember the name) that used the Google Maps server, amongst other map data providers. I uninstalled both this applicaion, and the Google Maps application, reloaded the Midlet Manager, and then re-installed the Google Maps application. It then worked.
Google Maps - Hong Kong maps
Google has recently introduced road map files for Hong Kong, China (search for Hong Kong, China on the web at http://map.google.com, and you'll see it). However, when I use the Midlet Version, the (road) maps for Hong Kong don't exist - it seems that the PC version and the Midlet version are sourced from different locations/servers...
PenPower conflict
I use the trial version of PenPower on my PPC. This allows input of 50 drawn Chinese Characters per device reset. The first time that a character is drawn, this interfers with the main window process on the device and causes a lock. If running the Midlet Manager with this program, the Midlet manager may seem to stall. If this is the case, simply draw another character (or just a squiggle), and the lock will be broken, leaving the application to continue running.
Click to expand...
Click to collapse
Wowz! Excellent summary, congrats!! Will link it from the next iteration of the article!
I have working google maps and other midlets since april 2006
http://forum.xda-developers.com/showthread.php?t=265426
Menneisyys said:
Wowz! Excellent summary, congrats!! Will link it from the next iteration of the article!
Click to expand...
Click to collapse
Cheers!
HDJ80 said:
I have working google maps and other midlets since april 2006
http://forum.xda-developers.com/showthread.php?t=265426
Click to expand...
Click to collapse
That was also with a former version of the IBM Midlet Manager. The problem I had was this:-
The IBM Midlet Manager, in previous versions, did run Google Maps properly (including the ability to view JPEG Satellite maps), but ran neither Opera Mini nor the GMail app properly (for reasons described in a previous post)
The Xda's included Midlet Manger ran all aforementioned apps, yet for some reason didn't support the JPEG Satellite Maps in Google Maps (which, in HK, with no map data, basically rendered it useless!)
The newer versions of the Xda Midlet Manger, which alleviate these issues, only works on WM5, and I have a 2003SE PPC
Anyway, this new v6.1.1 IBM Midlet Manger seems to meet all of my needs, despite its circuitous installation procedure.
It would be good, however, if the PenPower program didn't interfere with it, though, as it doesn't interfer with the Xda Midlet Manager. Still, it's more an issue with PenPower than the IBM product.
can anyone here upload this IBM JVM(ppc qvga version) somewhere?...cause i can't register in their site...they said the can't processed my registration info at the moment.
please upload it somewhere....cause my gsmart i120i default midlet manager can't install opera mini advanced(only support the basic version).
thanx in advance
meisocool said:
can anyone here upload this IBM JVM(ppc qvga version) somewhere?...cause i can't register in their site...they said the can't processed my registration info at the moment.
please upload it somewhere....cause my gsmart i120i default midlet manager can't install opera mini advanced(only support the basic version).
thanx in advance
Click to expand...
Click to collapse
if its too much to upload it somewhere...at least show me the link to download it other than the ibm site,cause i can't download from there and it's only demo not full version,
thx
Hi CJBS,
I'm using SDA smartphone with wm5. I installed the file like this post says: http://www.mgmaps.com/winset/. I tried and got this error.
Invalid fontPaths.properties detected. Please delete fontPaths.properties in /lib/jclMidp20/ and restart the MIDlet.
When I first installed J9 in my computer, there was no such a file. Now it's created with 0 byte. It's not like what you have with LcduiSystemFont: Windows\tahoma.ttf.
I deleted that file, it creates another empty one and says The font file paths are set incorrectly. Please edit fontPaths.properties in /lib/jclMidp20/ to point to the appropriate font files from the system font folder.
Actually, I changed the system font according to this post: http://www.airfagev.com/howtos_details.asp?id=77. And I'm also using sunglobe.ttf and the whole path is \Windows\Fonts\sunglobe.ttf. So I edited the fontPaths.properties file like you said "LcduiSystemFont: Windows\sungbloe.ttf". But I still have the problem.
Could you give me any advice?
Thanks a lot.
cunyalen:- I've noted that your issues relate to fonts. I also note that, after reviewing your other posts, that you're currently using FontOnStorage (see http://forum.xda-developers.com/showthread.php?p=1258090#post1258090). If you try removing this program, and re-installing as per the instructions documented, you may avoid the issue with fonts not being referenced correctly - Windows Mobile doesn't just look for physical font files in the file system, they are controlled through the registry as well (something that FontOnStorage also modifies)...
Does anybody have a link where I can download this at . For some reason I get plenty errors when trying to download from the site. I have the T-mobile MDA
CJBS said:
Works
Well, I got it working on my Blue Angel PPC2003SE. Google Maps, Opera Mini, and the GMail app all work fine.
Directory Structure
It's a bit of a troublesome installation process. I don't know why they didn't just have an installer like the 5.7 version. Still, I was able to install it to my storage card. My directory structure is as follows:
\Storage\IBM Midlet Manager\ (with no contents)
\Storage\IBM Midlet Manager\bin
\Storage\IBM Midlet Manager\lib
Shortcuts
It's possible to create shortcuts to individual applications by creating a shortcut, and then setting the parameter to the index of the Midelet as seen in the Midlet Manager. For example, I've got a shortcut to the Opera Mini app (which appears first in the list when running the Manager). It's shortcut is as follows:
"\Storage\IBM Midlet Manager\bin\emulator.exe" "-Xjam:run=1"
The "1" at the end is the index of the applicaion to run. So, in my case, "2" would be for the GMail app. It's actually possible to substitute the index "1" with the storage name for the application, however I was unable to find out how to retrieve the storage name. (It is possible to use the -Xjam:list parameter to list the storage names, but these aren't output to a dialog, and I don't have a command line program on my PPC.) Using the storage name would be better, as it would mean that each time a new application is uninstalled, the other shortcuts affected wouldn't need to be updated as a result of their indexes changing.
Font Files
It's possible to change the fonts used in the Midlets, too. There's a file in the lib subdrectory (in my structure, it's \Storage\IBM Midlet Manager\lib\jclMidp20\fontPaths.properties). Just substitute the names of the fonts with fonts that exist on your PPC. For example, to display Chinese characters, I substituted LcduiSystemFont: Windows\tahoma.ttf to become LcduiSystemFont: Windows\sunglobe.ttf - note that I have the sunglobe.ttf file in the \Windows directory. This may not work with all fonts. Ensure that when editing the file, it is saved in ANSI format, not Unicode (otherwise the MIDlet Manager won't load).
Gmail App
Note that in order to use the Gmail app, which is still in Beta, you'll need to have your language set to "English - US". THis can be done on the PC on the Gmail.com site by clicking Settings.
Google Maps - Fatal Error (upon loading)
Initially, after installing Google Maps, I was unable to run the aplication. The app would load the first part of the Terms and Conditions page, wait for about 20 seconds, and then present a dialog "Fatal error. Please exit and restart." I noted that it didn't even try and connect to the Google Server (as per the network data window, part of an app I have on my PPC). It turned out that I had another midlet (map-related - I can't remember the name) that used the Google Maps server, amongst other map data providers. I uninstalled both this applicaion, and the Google Maps application, reloaded the Midlet Manager, and then re-installed the Google Maps application. It then worked.
Google Maps - Hong Kong maps
Google has recently introduced road map files for Hong Kong, China (search for Hong Kong, China on the web at http://map.google.com, and you'll see it). However, when I use the Midlet Version, the (road) maps for Hong Kong don't exist - it seems that the PC version and the Midlet version are sourced from different locations/servers...
PenPower conflict
I use the trial version of PenPower on my PPC. This allows input of 50 drawn Chinese Characters per device reset. The first time that a character is drawn, this interfers with the main window process on the device and causes a lock. If running the Midlet Manager with this program, the Midlet manager may seem to stall. If this is the case, simply draw another character (or just a squiggle), and the lock will be broken, leaving the application to continue running.
Click to expand...
Click to collapse
I am trying to use opera mini beta 4 to read chinese website (Big5), but i doesnt working. I tried to change the fonts in Midlets, i found the file named
fontPaths.jar, how do i edit the path? Thank You.
leepenguin said:
I am trying to use opera mini beta 4 to read chinese website (Big5), but i doesnt working. I tried to change the fonts in Midlets, i found the file named
fontPaths.jar, how do i edit the path? Thank You.
Click to expand...
Click to collapse
If its a program you just install it under midlets . You dont have to set a path ..
PURESKILLZZZ said:
If its a program you just install it under midlets . You dont have to set a path ..
Click to expand...
Click to collapse
but i cant read chinese with opera mini beta 4? How can i fix it?
leepenguin said:
but i cant read chinese with opera mini beta 4? How can i fix it?
Click to expand...
Click to collapse
Can you read chinese with opera on your computer . ? If you can what did you do to see it ? Now I would say that both versions would work in similar ways .
PURESKILLZZZ said:
Can you read chinese with opera on your computer . ? If you can what did you do to see it ? Now I would say that both versions would work in similar ways .
Click to expand...
Click to collapse
Thank You for replying
I am using O2 Xda II with english rom (AKU3.5), i have installed CE-Star 2.8 R3. I can watch chinese with opera mobile browser. But as i know, opera mobile is based on Windows Mobile. Opera mini is based on Java, i think that's why i can't read chinese.
Does this program work on WM6? I installed the program on my Dopod 900 and able to run MIDlet HQ and install the program that I want, but when I click the 'lunch', it just return back to MIDlet List.
Beside the J9, I also installed Intent MIDlet Manager but the font size is too small to read! Anyone know how to increase the font size? thanks!
leepenguin said:
Thank You for replying
I am using O2 Xda II with english rom (AKU3.5), i have installed CE-Star 2.8 R3. I can watch chinese with opera mobile browser. But as i know, opera mobile is based on Windows Mobile. Opera mini is based on Java, i think that's why i can't read chinese.
Click to expand...
Click to collapse
We will solve this .. We are working on it now ...
cunyalen said:
Hi CJBS,
I'm using SDA smartphone with wm5. I installed the file like this post says: http://www.mgmaps.com/winset/. I tried and got this error.
Invalid fontPaths.properties detected. Please delete fontPaths.properties in /lib/jclMidp20/ and restart the MIDlet.
When I first installed J9 in my computer, there was no such a file. Now it's created with 0 byte. It's not like what you have with LcduiSystemFont: Windows\tahoma.ttf.
I deleted that file, it creates another empty one and says The font file paths are set incorrectly. Please edit fontPaths.properties in /lib/jclMidp20/ to point to the appropriate font files from the system font folder.
Actually, I changed the system font according to this post: http://www.airfagev.com/howtos_details.asp?id=77. And I'm also using sunglobe.ttf and the whole path is \Windows\Fonts\sunglobe.ttf. So I edited the fontPaths.properties file like you said "LcduiSystemFont: Windows\sungbloe.ttf". But I still have the problem.
Could you give me any advice?
Thanks a lot.
Click to expand...
Click to collapse
Please find attached a copy of my fontPaths.properties.bak (original file), and fontPaths.properties (modified to point to fonts supporting Chinese characters -- fonts that exist on my system) included within the Zip file

(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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
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
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.
It’s free and pretty easy to set up
Cons
It isn’t compatible with WM6 Smartphones like the HTC Vox (s710) or the HTC Wings (s730). Sorry.
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.
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:
with WM6 PPC’s (unlike with pre-WM6 ones), you must copy the URL to the clipboard and only after this click the link!
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
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).
download THIS file
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.
transfer OMInvokeAndPasteScript.mscr to \Program Files\MortScript on your device
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:
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.
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:
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.
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.
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.
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.
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.)
Undo
I hate to be a pain, but I am trying to view the registry file. Can you suggest a product to view the file? I followed the instructions and was having problems, so I am trying to undo the registry changes.
Thanks
Never mind. I found the registry entry.
Tnx for sharing this great idea ... always wanted one, at least until Opera Mobile 9 will be released.
I have HTC Artemis = WM6 Pro, Cloudyfa Jbed 20070802.2.1 on Storage Card and Opera Mini 4. This is the only midlet so far installed, none other present as of now.
Following is my experience:
1. When Opera Mini is not running, and has to be launched I always get a message "Could not find suite s0_", and then later Opera Mini does get launched but no address input happens. Simply the browser is launched in other words.
2. If Opera Mini is already running, everything works nicely ... no probs here.
3. I use this app, RSS Reader, Spb Insight (I think the best, beats NewsReader except that it has no podcast download support). When I click on the link address in the article (btw, I even cannot copy them in this app), PocketIE/Opera Mobile 8.65 is launched. How can this be resolved.
The script that I am using is that of badbob001, with small mod:
If (ProcExists("jbed.exe"))
Run("\Storage Card\Program Files\Jbed\jbed.exe", "-run s0_")
sleepmessage(3, "Please Wait...")
Else
Run("\Storage Card\Program Files\Jbed\jbed.exe", "-run s0_")
sleepmessage(6, "Please Wait...")
EndIf
SendLeftSoft
Sleep(100)
SendLeftSoft
Sleep(100)
SendEnd
SendHome( "",0,1 )
Sleep(100)
url = substr(url,2)
SetClipText(url)
SendCtrlKey( "V" )
Sleep(100)
SendLeftSoft
I have tried with the original one as well .... same results.
Ok, I got rid of s0_ error. After trying 0-10, I decided to delete the string all together and it launches now without any error. So the line now looks like:
newer --> Run("\Storage Card\Program Files\Jbed\jbed.exe")
older --> Run("\Storage Card\Program Files\Jbed\jbed.exe", "-run s1_")
So, why then we need this s0_ string anyway !!!
But then again, if Opera Mini is not running, after clicking on the link in e-mail, the midlet manager is launced and OM fired, and then no URL input happens. If OM is already running, then all is fine. And still haven't found how to resolve URL linking with Spb Insight application.
BTW, for my Artemis @260Mhz, sleep strings of "If= 2 and Else=4" seconds is perfect.
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.
Click to expand...
Click to collapse
Well, it works for me. If I recieve link in email I just click Reply to be able to select and copy the link. Open Opera Mini and paste the link (using Vito CopyPaste). The copy & paste works in intent Midlet Manager (v10.1.7.559) fine.
EazyVG said:
Ok, I got rid of s0_ error. After trying 0-10, I decided to delete the string all together and it launches now without any error. So the line now looks like:
newer --> Run("\Storage Card\Program Files\Jbed\jbed.exe")
older --> Run("\Storage Card\Program Files\Jbed\jbed.exe", "-run s1_")
So, why then we need this s0_ string anyway !!!
Click to expand...
Click to collapse
That is strange that just by running jbed.exe, opera mini is launched automatically or am I not understanding you?
EazyVG said:
But then again, if Opera Mini is not running, after clicking on the link in e-mail, the midlet manager is launced and OM fired, and then no URL input happens. If OM is already running, then all is fine.
Click to expand...
Click to collapse
Perhaps opera mini is taking longer than your script expects. In the original script with sleep(6000), it expects opera to run in 6 seconds. On my device, that is too short and I had to increase it to sleep(8000) or sleep(8500). Just launch opera and count how long it takes to get a rough idea.
Yes, you are right. I have deleted the string mentioning s0_ all together, and it does work without it. So, what you think.
Basically, here is what I tried:
Code:
If (ProcExists("jbed.exe"))
Run("\Storage Card\Program Files\Jbed\jbed.exe")
sleepmessage(2, "Please Wait...")
Else
Run("\Storage Card\Program Files\Jbed\jbed.exe")
sleepmessage(10, "Please Wait...")
EndIf
SendLeftSoft
Sleep(100)
SendLeftSoft
Sleep(100)
SendEnd
SendHome( "",0,1 )
Sleep(100)
url = substr(url,2)
SetClipText(url)
SendCtrlKey( "V" )
Sleep(100)
SendLeftSoft
What it does with that 10 seconds command is that, it launches Jbed, waits 10 seconds at the menu option (where there is a list of Midelets installed, in my case for now only Opera), and then only launches OM, and again there is no auto address input. So increasing seconds doesn;t give me anything. What can be the problem?
And what about handling of links in apps such as Spb Insight ... I haven't tried clicking links in any other 3rd party app, but perhaps the result will be same, i.e. not launching the OM but going straight to PocketIE.
MOVED our discussion .... as this one is for Smartphones. The link to your other General post:
http://forum.xda-developers.com/showthread.php?p=1707520#post1707520
I have problems with the url parameter on WM5 Smartphone.
If I have in the registry entry like this:
"\Storage Card\Program Files\MortScript\MortScript.exe" "\Storage Card\Program Files\MortScript\OMInvokeAndPasteScript.mscr" url="%1"
It says "There is no application associated with http://something.com. Run the applicaition first and open this file inside the application."
"\Storage Card\Program Files\MortScript\MortScript.exe" "\Storage Card\Program Files\MortScript\OMInvokeAndPasteScript.mscr"
This runs the script fine (except the address of course).
"\Storage Card\Program Files\MortScript\MortScript.exe" "\Storage Card\Program Files\MortScript\OMInvokeAndPasteScript.mscr" url=
This launches the script as well but it dosnt paste the url. I have moddified the script for my intent Midlet Manager but I still have "SetClipText(url)" and "SendCtrlKey( "V" )".
Any help?
I'm confused.
Here you say it worked...
EazyVG said:
Yes, you are right. I have deleted the string mentioning s0_ all together, and it does work without it. So, what you think.
Click to expand...
Click to collapse
But here you say a list of midlets comes up.
EazyVG said:
What it does with that 10 seconds command is that, it launches Jbed, waits 10 seconds at the menu option (where there is a list of Midelets installed, in my case for now only Opera), and then only launches OM, and again there is no auto address input. So increasing seconds doesn;t give me anything. What can be the problem?
Click to expand...
Click to collapse
If you see a list of midlets come up, IT DID NOT WORK. The point of all this "-run s?_" business to so that the midlet list is bypassed and the midlet is run directly. If you can't get this direct launch method to work, then you will need to modify the script to press enter at the midlist list to launch opera for you. You may think the script is working because a command in script 'accidentally' launches om for you but the script expects om to be already started.
You should study this page:
http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html
EazyVG said:
And what about handling of links in apps such as Spb Insight ... I haven't tried clicking links in any other 3rd party app, but perhaps the result will be same, i.e. not launching the OM but going straight to PocketIE.
Click to expand...
Click to collapse
It is possible that applications ignore the system settings and launch links by invoking pocket ie. Did you even run a windows application and click on a link in help > about and internet explorer opens instead of your default browser like firefox. That application, instead of passing the url to the os to take care of, is running 'iexplore <url>'.
But here you say a list of midlets comes up.
Click to expand...
Click to collapse
Well, what I meant is where the list of midlets is showed, in my case, for now there is only Opera Mini, otherwise I am also gonna have few games, apps and Gmail.
It is possible that applications ignore the system settings and launch links by invoking pocket ie. Did you even run a windows application and click on a link in help > about and internet explorer opens instead of your default browser like firefox. That application, instead of passing the url to the os to take care of, is running 'iexplore <url>'.
Click to expand...
Click to collapse
Of course I tried, such as with links embedded in e-mails. So as I undersstand, not all apps follow what is known as Global Rules.
then you will need to modify the script to press enter
Click to expand...
Click to collapse
Can you please tell me how this script should look like, kinda never don this before on my own.
BTW, it does bypass the midlet list section, only when OM is already running in the background. I'll check the link you have given me ... hope it will shed some light.
EazyVG said:
BTW, it does bypass the midlet list section, only when OM is already running in the background.
Click to expand...
Click to collapse
It bypasses the midlet list because you already have a java application running. You can't go back to the midlet list until you quit the existing midlet application because you can only have one midlet running at a time. You'll just need to read the reference web pages to figure out what s?_ value to use to invoke om directly. If you already have other midlets installed, then you must have invoked another installed midlet by chance. If you had tried s0_ up to say s20_ (don't know how many midlets had you installed), then perhaps you jvm doesn't support direct run.
Is it possible that you have jbed installed on both the storage card and main memory and somehow it's looking for your midlets in the wrong storage location? Just a guess since I've just learned enough just to get om working and I don't have jbed on a storage card. According to the link, you should look in \windows\appdb and find the .jar for opera. Each midlet application should have a jar named s?_suite.jar where ? is a number. Once you know the value of ?, then you know what to put in your script. If you have your jars on the storage card instead, then you will need to research if you need to change anything to get direct launching working.
So for now, your problem is getting a midlet to directly run and has yet to even involve the link-copy-paste idea of the original post.
So far I have tried s0 to s10, and had maximum, prior to deleting the rest apart from OM, somewhere abound 6. I guess this has to do something with my Jbed being present in ROM (as it came with coocked ROM and I can't delete it) and one on storage, but am quite sure that the one from storage card is being run, as per registry inputs. I'll try to leave one just on main memory and reinstall the OM.
But still, the main question for me remains the one with 3rt party apps and embedded links in them, such as Spb Insight, which I use on daily basis. I hope soon one or the other solution will be found. Perhaps some tweak to be done in the registry itself for Spb and other apps to launch the Jbed/OM combo!
Tnx for the tip.
EazyVG said:
So far I have tried s0 to s10, and had maximum, prior to deleting the rest apart from OM, somewhere abound 6. I guess this has to do something with my Jbed being present in ROM (as it came with coocked ROM and I can't delete it) and one on storage, but am quite sure that the one from storage card is being run, as per registry inputs. I'll try to leave one just on main memory and reinstall the OM.
Click to expand...
Click to collapse
Did you look in the \Windows\appdb\ folder? Opera for me is installed as s0_suite.jar and has a size of 97.7KB (100,056 bytes). I had also applied a hack to the selector.utf file so that I'm not prompted for permission when opera wants to access the network. Do you get a prompt when opera starts? That *may* be related.
EazyVG said:
But still, the main question for me remains the one with 3rt party apps and embedded links in them, such as Spb Insight, which I use on daily basis. I hope soon one or the other solution will be found. Perhaps some tweak to be done in the registry itself for Spb and other apps to launch the Jbed/OM combo!
Click to expand...
Click to collapse
This may be answered here, starting at post #24.
http://www.howardforums.com/showthread.php?t=1283853&page=2
It looks like even on wm6, some applications still use the wm5 registry settings so you may need to apply the registry changes for both wm5 and wm6.
UPDATE (12/04/2007): Major WM6-related updates have taken place in the meantime.
In the meantime, my blog reader badbob001 has refined the script. Now, if you click a link, you’ll be presented a choice list, where you can select whether to pass the given URL to Internet Explorer Mobile, Opera Mini, just copy to the clipboard or just cancel the operation. This will help you in selecting the right browser if you (still) plan to use IEM (or other native Web browsers like Opera Mobile, Netfront or Minimo).
Cool, eh?
Remember that you don’t need to deploy this script if you don’t need this kind of functionality but always want to be redirected right to Opera Mini. Therefore, I’ve also included the older version of this script in the ZIP file. It’s in the NoBrowserSelectionDialog subfolder. Note that this script has also been updated a bit: it checks for Jbed already running; if it is, then, it doesn’t wait that much. Again, thanks for badbob001 for refining and performance-tuning my initial script.
Note that the usual stuff applies: if the script doesn’t invoke Opera Mini but invokes something else, edit both occurrences of s0 and appropriately change 0 to a greater number.
Finally, note that, these updates & bugfixs being all WM6-related, I haven't edited the old, WM5-related, working MortScript file. If you need some speedup and/or dynamic, runtime selection of the browser you'd like to use, you'll want to copy either of the two new MortScript files - it'll work.
2. Upon HowardForums forum member volwrath’s bug report, I’ve enhanced the Registry import file to support invoking Opera Mini from all applications, not only Messaging and Notes. I wouldn't have thought WM6 is so half-baked (that is, half of the apps still depend on the pre-WM6 (that is, the HKCR/http/Open/Command) way of invocation). That is, the WM6 Registry import script has also been enhanced (basically, I've just added the contents of the old WM5-related Registry import file to it), not only the MortScript file.
Note that reading local files will still default to the system-level browser as I haven’t redefined the default application for opening .htm(l) files. That is, by default, Internet Explorer Mobile will open these.
Again and again, it can’t be stressed enough how much these hacks enhance the usability of Opera Mini under Windows Mobile! I really recommend giving Opera Mini a try – you certainly won’t regret it!
Thanks Menneisyys and badbob001 ..... you the king of the hill.
On my HTC P3300 running WM6, Claudyfs Jbed 1.2, now all is working exceptionally well. Now with the updated script and reg tweak even the links embedded in 3rd party apps (such as the one I mentioned, Spb Insight) the OM get's launched and the browser shows the web site without any delays. The only thing I changed was the Sleep string from 6 to 4.
I can't thank you guys enough ... definitely MAJOR BREAKTHROUGH
UPDATE (12/12/2007): upon the problem reports of several Smartphone users (see the posts for example HERE), I’ve released a slightly modified version of the script that, instead of pasting, uses keyboard emulation. This makes it possible to use the script on some Smartphones that are incompatible with pasting.
The script is available HERE. Remember to remove the SP.2 extension before deploying it. Note that, again, it's ONLY meant for Smartphone users that previous script versions didn't work with!!!
Note that while it works on for example the I3 Beta of WM6 of the Samsung BJ, it doesn’t do the same on the (original) WM5 version of the same device or the HTC Vox (s710). It seems it’s impossible to support these devices with the current MortScript version. I'll also try to reimplement the script in nScriptm (another, less widely used scripting language / interpreter) - hope it is able to paste / send characters to these, still incompatible MS Smartphone models.
UPDATE (12/13/2007): I’ve also made available the Registry import file you’ll need to use when reverting to the original, Internet Explorer-only associations. It’s HERE.
UPDATE (12/15/2007): XDA-Devs forum member shlomki has just released the different hacks in CAB format so that they’re very easy to install. They’re available HERE. Comments are welcome. (Note that, due to lack of time, I haven’t checked them.)

Tutorial: Creating MIDlet shortcuts in start menu, and changing the shortcut icon

Well, so you have installed Opera Mini, you love the app but hate having to open your MIDlet manager each time you want to run it. You can't have a direct shortcut icon in your start menu or your quicklaunch bar. Here is a tutorial to fix it (step 1 works with any MIDlet, step 2 works with any shortcut)
First i have to give due credit to Menneisyys and his awesome Java MIDlet Bible, and also to bobstar_fr for his shortcut icon mod tutorial
PREREQUISITES :
- Get yourself a decent MIDlet manager, the default windows one is crap. I would advise Esmertec Java Manager which can be found here.
- Download an Icon Editor for PC, for example the 30-day trial version of ArtIcons Pro will do the job.
STEP 1 : Creating a MIDlet shortcut
This step assumes you have installed Esmertec Jeodek or Esmertek Jbed (see prerequisites)
First, locate the list position of the Java MIDlet you want to shortcut in the Jeodek/Jbed application list. If you install Jeodek/Jbed as a fresh install, and then directly install Opera Mini, just use the number "0" to refer to Opera Mini.
Warning, if you uninstalled some midlets, the application list may not start at 0 or may have gaps. This number is in fact incremented starting at 0 each time you install a new MIDlet.
Then, go to \Windows\Start menu\Programs, and create a new shortcut. In the "target" field, type this :
"\windows\jbed.exe" -run s0_
Replacing the number 0 after the "s" letter by the list position of your MIDlet as found above.
If you have Jeodek installed, you will want to replace jbed.exe with jeodek.exe
Then click on your shortcut, et voila, the MIDLet runs immediately without having to launch the manager.
All credit goes to Menneisyys
STEP 2 : Modifying the shortcut icon
So you have a nice working shortcut, but it has the default java icon instead of the MIDlet icon. If you make many shortcuts they will all share the same (ugly) icon. You may want to change this.
The bad point is that you can't directly access the icon in a .jar file. You may only use icons included in .exe or .dll files. You could extract the .png icon from the .jar file and compile it into a .dll, but this is not the goal of this tutorial.
So if you want to change the icon of your newly-created Opera Mini shortcut, you will use another icon, for example the one from Opera 8.
Find the .exe (or .dll) which contains the icon you want to use, copy it on your PC, then open it with your Icon Editor. You will see a list with all icons included in the file, along with a number. Write down this number, it's the ID of your icon and you will need it.
For example, when you open OperaWM.exe in your icon editor, you see several icons, and the one we're interested into (with the red "O") has ID number 131.
Then go back to your Start Menu shortcut, and in the target field add the following at the end of the line :
?path_to_your_exe,-icon_ID
For the above example, this would be :
?\Windows\OperaWM.exe,-131
Et voila, you now have a nice icon for your shortcut.
All credit goes to bobstar_fr
To end this tutorial, here's a few ready-made examples :
Example 1:
Shortcut for Opera mini, installed in first position in your manager, with opera icon. In the target field of your shortcut, you would write :
"\windows\jbed.exe" -run s0_ ?\Windows\OperaWM.exe,-131
Example 2:
Shortcut for SFR Messenger, installed in second position in your manager, with MSN messenger icon. In the target field of your shortcut, you would write :
"\windows\jbed.exe" -run s1_ ?\Windows\WLMMessenger.exe,-50
Thats'it, hope you will enjoy.
Great tutorial!!! I'll give it a try later tonight. I have jbed installed on storage card though (the modded version of jbed)... I wonder if that may become a problem?
owziee said:
Great tutorial!!! I'll give it a try later tonight. I have jbed installed on storage card though (the modded version of jbed)... I wonder if that may become a problem?
Click to expand...
Click to collapse
Thanks !
No problem for having jbed installed on your storage card, just replace the "\Windows\jbed.exe" by "\Storage Card\jbed.exe" in all your shortcuts (insert subdirectory if needed).
Great tutorial, I link to it from the Bible.
Hi dude
What about link to MIDlet folders (shortcuts to folder and to any app installed inside it)?
Ciao
Menneisyys said:
Great tutorial, I link to it from the Bible.
Click to expand...
Click to collapse
Wow, i'm honored to get that kind of feedback from the java king of xda-devs.
@[email protected] said:
Hi dude
What about link to MIDlet folders (shortcuts to folder and to any app installed inside it)?
Ciao
Click to expand...
Click to collapse
I need to test this to see if installing MIDlets in folders breaches the rule of incremental numbering by installation date. Will keep you updated.
JZ SmartMort v1.4 Released!
Announcing JZ SmartMort v1.4!​
Now you can use JZ SmartMort to create Opera Mini and any other JBed application icon on your Start Menu!
Have a look at the screenshots of JZ SmartMort, available HERE or at SourceForge. Below are the prominent features that the software offers.
Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing
Revisions:
v1.4 *** 2008-07-07
- Created help files.
- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.
- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.
- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.
- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.
- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.
- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.
- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.
- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.
- Various speed & optimization considerations incorporated.
- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).
I would like to add two things:
1) You can limit the memory for jBed and Jeodek:
59#"\Esmertec Java\jbed.exe" -run s2_ -DFile.maxStorageSize=4M
2) Shortcut for Tao Intent:
55#"\Program Files\TAO\jmm.exe" -r"Gmail","Google","Gmail"
I'd like to add a reference to a free icon/resource editor that allows you to create your own set of icons, e.g. for reference in the JBed .lnk files.
Tool Download: http://icofx.ro/downloads.html
Online Help for library creation: http://icofx.ro/tutorials/tutorial4.html
If anyone gets the error: "could not find suite s0..." the solution might be changing the quotation... i mean the "" characters that you copy/paste or write...
Leave the entire command sequence without quotations:
\windows\jbed.exe" -run s0_
That should work!
Hi all.
Tried all above and can't figure it out, "Could not find suite..." error keeps comming
my jbed is located on sd card, path:
\Storage Card\Program Files\Esmertec\Jbed 20090217.5.1R2\jbed.exe
Could it be the jbed location?
You need to check if the suite you access also exists under this number. The numbering is not (immediately) filling gaps that are created when deleting a suite.
V3rt!g(o) said:
Hi all.
Tried all above and can't figure it out, "Could not find suite..." error keeps comming
my jbed is located on sd card, path:
\Storage Card\Program Files\Esmertec\Jbed 20090217.5.1R2\jbed.exe
Could it be the jbed location?
Click to expand...
Click to collapse
Have you ever try?
I've successful to create shortcut :
69#"\Storage Card\Program Files\Esmertec\Jbed 20090217.5.1R2\jbed.exe" -run s1_ ?\windows\ListView.exe, -1
unfortunately, I can't change the icons.

TUTORIAL: Make Opera Mini (4.1) your default system browser!

In my last (and, now, heavily outdated) article on making Opera Mini 4 be invoked on my just clicking a URL, I’ve already elaborated on the advantages of doing this (and, actually, the advantages of Opera Mini 4 itself). Please do read it if you want to know why making use of direct invocation can be really advantageous.
Because there’s a lot of news worth reporting on (and I’ve been asked by Serola to join the Opera Mini Fan Blog as the first blogger, because of which I've decided to update this really important tutorial) and the original article didn’t elaborate on other mobile platforms like Symbian and BlackBerry, I’ve decided to devote an entirely new article to this question.
1.1 badbob101’s StartOperaMini
(the download is at the bottom of the first post; as of 05/12/2008, 09b is the latest version, which you'll want to go for.)
I recommend this solution the most because it’s really-really easy to install and maintain and it’s much more flexible than, say, superdave’s, otherwise, in some respects cleaner and faster solution.
All you need to do is, in order to set it up, downloading and installing the free MortScript (just copy the MortScript-4.1-PPC.cab file from the cab subdirectory of the ZIP file to your handset and tap it there) and, then, just copying StartOperaMini.mscr anywhere (including a storage card) on your handset and, as with MortScript, clicking it from File Explorer. It’ll automatically find the current location of Jbed, the index of Opera Mini and set up everything just fine. Unlike with the early solution, absolutely no manual setup is needed.
Note that, after running it, in addition to several property files, two link files will also be created. Feel free to manually copy them to \Windows\Start Menu\Programs so that they are easily accessible (not just from a file explorer):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The - in the above screenshot highlighted - Start Opera Mini Setup lets you fine-tune your settings:
You, in most cases, won’t want to touch this. However, there are cases when you will want to do this; most importantly, when you want to enable the browser selector screen (see Badbob’s early script version’s default functionality) upon every invocation:
Another recommended setting you can do is NOT forcing the script to kill the already-running Jbed / Opera Mini session by double-tapping Kill Jbed first [Yes] item; the results of this will be as follows (with the given item highlighted):
Also note that you can also directly edit these options in the configuration file, StartOperaMini_ini.txt. For example, not letting for the killing of Jbed (to greatly speed up initial page loading and also keeping the already-opened pages in memory), just change kill_jbed(1) to kill_jbed(0) (that is, 1 to 0 in the parentheses) in it.
1.2 Other Windows Mobile solutions
You might also want to check out JZ SmartMort’s script-based solution, particularly recommended for MS Smartphone users and superdave’s native C++ program HERE. Note that the latter doesn’t let for using Jbed elsewhere than under \Windows\ and it doesn’t support the enhanced, autocomplete-capable 4.1 interface; you’ll need to switch to the pre-4.1 input mode by clearing the "Direct Address Input" checkbox in Setings.
1.3 Other operating systems
Unfortunately, other mobile operating systems don’t support this kind of operation. However, nothing is lost! Unlike under Windows Mobile (particularly on MS Smartphone devices with their pretty much restricted – no copy/paste features built-in, for example – OS), it’s very easy to quickly invoke a given URL in both Symbian and BB.
1.3.1 Symbian
In Messaging, highlight the URL:
Press the left softkey and select Copy:
Switch to Opera Mini, press #1, press the Delete ("C") and, then, the Down buttons once to highlight "Insert symbol":
Now, long-press the Pen button until "Paste" is shown over the right softkey:
Not releasing the Pen button, press the right softkey; the contents of the clipboard are copied to the text input area:
You can, now, go on as usual by sumbitting the URL:
1.3.2 BlackBerry
In the mailer, highlight the URL by going up/down with the trackball:
Press the Menu button (NOT Action! The latter will take you straight to the built-in browser) and select Copy:
Switch / go to OM and press #1; press Del once to delete the contents of the input field and roll the trackball down to highlight "Insert symbol":
Press the trackball and select Paste:
The URL is pasted to the input field:
Now, just press the trackball three times (the first will be an OK; the third):
Note that this will work in all cases, even with true HTML mails even with the latest, 4.5 beta OS, because the current, still non-upgraded BIS / BES servers still send out non-HTML mails to clients. An example of an otherwise full HTML mail sent as plaintext:
Incidentally, the case is exactly the same with Symbian - that is, you'll always be presented pure-text versions of HTML mails with easily-to-copy links.
Excellent update. I'm not sure if I'm missing anything, but I never could figure out a way to copy and paste in Opera Mini on WM6. You addressed Symbian and BB, am I missing something already known or is this not possible?
JZ SmartMort v1.3 - Released!
Announcing JZ SmartMort v1.3
This version has a lot of enhancements, please read the release notes below.
Get it here: http://forum.xda-developers.com/showthread.php?t=382043 or on SourceForge
v1.3 *** 2008-05-25
- Created a CAB file for distribution. If upgrading, please remove or rename the entire JZ folder. To install the CAB your phone will need to be uncertified app-unlocked. You can use this standalone utility: http://www.gpcarreon.com/?p=151
- Mort has allowed me to distribute his FREE MortScript, when you install JZ SmartMort it will place Mort's CAB files in the "MortScript Installs" folder, found underneath your JZ install location. This makes it easier to install all components necessary to run my software w/o having to download more from the web.
- CAB file will create a Start Menu shortcut for JZ Installer.
- Pulled out the .Net executable file from the pack, found a MortScript workaround instead.
- Storing everything in the registry. Optimized scripts for light memory usage and speed.
- Added PPC support to map the JZ Action script to the Application 2 hardware button.
- Added NetFront 3.5 support and verified all Opera Mini versions above 3.1
- Default browser has a timeout now which is user defined, default is 5 seconds.
- Opera Mini enhancements: 8 paste methods, adjust trim units, use different methods to pop the Opera Mini URL input screen and enable/disable "Auto-Complete Address Input"
- Ability to create the Opera Mini shortcut on your Start Menu.
- You can use the action/button mapped script to choose a JBed/Java app from a list. Added a JBed security prompt patcher along with the Application Unlocker which is also a part of the pack.
- HELPERS folder underneath the JZ installation area has scripts to reset device, kill voice notes, list JBed apps to run, Kill IE & Kill MortScript.exe.
- Ability to reset JZ SmartMort settings.
- Ability to select with cursor & copy to the clipboard (will ask how many seconds to allow cursor selection)
VirgilWoods said:
Excellent update. I'm not sure if I'm missing anything, but I never could figure out a way to copy and paste in Opera Mini on WM6. You addressed Symbian and BB, am I missing something already known or is this not possible?
Click to expand...
Click to collapse
Use Ctl-C / V on the on-screen keyboard. Also see my MIDlet Bible and Button Enhancer Bible for more info / tips.
JZ SmartMort v1.4 Released!
Announcing JZ SmartMort v1.4!​
Now you can use JZ SmartMort to make Opera Mini a default system-level browser with ability use other installed browsers side-by-side!
Have a look at the screenshots of JZ SmartMort, available HERE or at SourceForge. Below are the prominent features that the software offers.
Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing
Revisions:
v1.4 *** 2008-07-07
- Created help files.
- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.
- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.
- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.
- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.
- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.
- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.
- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.
- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.
- Various speed & optimization considerations incorporated.
- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).
Questiooon
Thanks Man It Was Great
Evruthing Worked.!
The Only Thing Is How To Return Opera And Ie Logo To The Icon???
Because Now I Got The Yellow Icon From The Moscript
Thanks.
88smiley88 said:
Thanks Man It Was Great
Evruthing Worked.!
The Only Thing Is How To Return Opera And Ie Logo To The Icon???
Because Now I Got The Yellow Icon From The Moscript
Thanks.
Click to expand...
Click to collapse
Are you using JZ SmartMort? If yes, then there's an option under JZ Settings > Browser > Patch IE Icon.
ot: duz Opera mini support www.hotmail.com? i can't seem to login, it says cookie on a blank page when i login
I used Opera Mini 2 years ago and hated it. I love 4.1 with JZ MortScript.
It has overtaken Opera 9.5 beta and Access Netscape with their high memory usage and 'out of memory' popups that are so annoying.
Thanks for the hard work.
JZ SmartMort v1.4.2 - Released!
Announcing JZ SmartMort v1.4.2
Get it here: http://forum.xda-developers.com/showthread.php?t=382043 or on SourceForge
Great support for Skyfire (PPC/SmartPhone editions) and Torch Mobile's Iris Browser with the new 1.4.2 version of JZ SmartMort!!!
v1.4.2 *** 2008-09-21
- Added support for Torch Mobile's Iris Browser.
- Added support for Skyfire SmartPhone edition and modified Skyfire PPC pixel seeking logic when bar is shown and hidden.
- Added multiple Skyfire paste & open URL methods.
- Separated versions of Opera Mobile 8 & 9. Users can have both installed on the device and detected separately by JZ SmartMort.
- IME keyboard driver manipulation for Opera Mini to help pasting in some cases.
- Added option to Pin Last Used Browser as Default. JZ SmartMort will use the last selected browser and set that browser as default for the next time JZ Browser script is opened.
- Added FakeCursor to allow SmartPhone users ability to use more PPC geared applications.
- Added partial JZ SmartMort resets rather than the previously available full reset.
- Added BlackJack II button mapping for the updated WM 6.1 ROM. Both WM 6.0 & 6.1 OS versions are supported for button mapping on BJII.
Signed and Verified Opera mini 4.1
Does anyone have and Signed and Verified Opera Mini 4.1 you can upload or point me to?
I tried to download it from Opera but my 8525 is only tested/approved for Mini 3 and the version of 4.1 I get is unsigned and unverified.
I would really like to be able to download/upload from the browser.
addicus said:
Does anyone have and Signed and Verified Opera Mini 4.1 you can upload or point me to?
I tried to download it from Opera but my 8525 is only tested/approved for Mini 3 and the version of 4.1 I get is unsigned and unverified.
I would really like to be able to download/upload from the browser.
Click to expand...
Click to collapse
You should be able to do everything that a signed version can...
If you use my software, under "JZ Misc." settings is a "Security" option which will allow you to tell JBed to never prompt you with warnings. Making your unsigned version work the same in JBed as a signed one would.
JZ SmartMort said:
You should be able to do everything that a signed version can...
If you use my software, under "JZ Misc." settings is a "Security" option which will allow you to tell JBed to never prompt you with warnings. Making your unsigned version work the same in JBed as a signed one would.
Click to expand...
Click to collapse
This is all I get when I go to settings under "JZ Misc". There is no "Security" Options.
addicus said:
This is all I get when I go to settings under "JZ Misc". There is no "Security" Options.
Click to expand...
Click to collapse
Sorry, I meant "General Tweaks/Hacks" > "Security"
JZ SmartMort said:
Sorry, I meant "General Tweaks/Hacks" > "Security"
Click to expand...
Click to collapse
Worked to perfection. Thank you very much. I'm downloading your 1.4.2cab now.
I'm having a few problems.
1. I can't fully uninstall the program. I wanted to remove 1.4.1 before installing 1.4.2.
2. I flashed my device to clear some issues. Now opera mini won't paste and open a link from my email. This is whether I am using 1.4.1 or 1.4.2.
Please assist.

Categories

Resources