Log in

View Full Version : Java Midlets on the Pocket PC - the Complete Tutorial


Menneisyys
03-16-2006, 01:59 PM
Midlets are widely known for mobile phone users because a wide variety of games, chatter applications (for example, Internet Relay Chat clients (http://www.pocketpcmag.com/blogs/menneisyys/112005IRCClients.asp)), Web browsers (for example, the excellent Opera Mini (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=427&more=1)), Google Maps cients (for example, Mobile GMaps) etc. are available in a cross-platform midlet form.

I always receive a lot of midlet-related questions (see for example this (http://www.pocketpcthoughts.com/forums/viewtopic.php?t=42633) and this (http://www.pocketpcthoughts.com/forums/viewtopic.php?t=36013) threads; note that they're a bit old and, therefore, do not have the most up-to-date information); this is also why I've decided to write an all-in-one article on all the midlet-related questions. (Needless to say, this article is the first generic, practical overview ever written on this question.)

Opera Mini, the best, free Midlet-based Web browser itself is certainly a reason for learning to run midlets on PPC's. While a bit simple and incapable at the first blick (for example, there's absolutely no support for selecting text and copying it to the clipboard – in this respect, it's like the Thunderhawk browser, which doesn't allow for any kind of such functionality either), you'll soon learn to love to use Opera Mini on your Pocket PC because:

* It loads pages really fast
* It keeps communication costs down by compressing and heavy content stripping – you don't need to use third-party services like Toonel (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=637&more=1), OnSpeed (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=511&more=1) or Web-based compression/content stripping engines like Skweezer or MobileLeap (http://www.pocketpcmag.com/blogs/index.php?blog=3&title=beware_skweezer_completely_strips_javasc&more=1).
* It can keep open dozens of (even large) Web pages without a significant memory/process number hit. With Opera Mini, you can easily keep as many as 30 (thirty) windows open (and easily, instantenously switch between them in Menu/Tools/History). In my real-world tests, 30 big, graphics-intensive pages only occupied about 12-13 Mbytes of RAM (and only one process – most other browsers use separate processes for each opened window, which will result in pre-WM5 operating systems the automatic shutdown of background tasks when you open more than 7-8 windows; with WM5, you can keep slighly more pages open). When browsing in a "real", non-midlet-based Pocket PC browser, you'll soon (say, after 10-12 opened pages) run into the memory / maximal process count constraints of the operating system/the particular device.
* It's compliant with most (tested) Web pages, only with small compatibility problems (for example, the Reply/Forward links not working in the full (non-PDA-optimized) Yahoo Mail; this problem, incidentally, also plagues most "full" Pocket PC browsers (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=318&more=1)).

Also, aside from Opera Mini, there're some games and other applications available as midlets. For example, the Reqwireless mailing-related midlets (http://www.reqwireless.com/) were of really high quality (too bad the company has recently exit business (http://www.reqwireless.com/support_faq.html#no-longer-available)). And, I've already mentioned the Google Maps (http://maps.google.com/) clients - they work just great on the Pocket PC, unlike Web browser-based ones.

Note that, as far as games are concerned, only generic ones will work. Anything non-generic (machine-specific) will refuse to work. That is, it's pretty useless to download for example Sony-Ericsson or Nokia-specific games – they will not work (before you ask: yes, I've thoroughly tested several phone model/brand-specific midlet games. None of them worked.) This not only concerns commercial titles but also even open-source, free ones like the (Nokia Series 60-specific) Bomber (http://sourceforge.net/projects/bombers60/).

What Midlet environments are available for the Pocket PC?

intent Midlet Manager (http://tao-group.com/main.php?pageid=121062.php&temptype=t1) (intent MM for short) is by far the best midlet environment for the Pocket PC. It comes pre-installed on all known HTC Phone Edition Pocket PC's – and even some non-HTC (but, still, HTC-manufactured) ones like the iPAQ hw6515.

Unfortunately, there're no separate intent MM downloads and you can't hack the intent MM extracted from one device to another (I've tried it really hard). That is, you will only be able to use it on PPC PE devices.

Also note that older (still PPC PE) versions of intent MM can't be installed on arbitrary devices. For example, I've tested version v10.1.2.57 (http://forum.xda-developers.com/viewtopic.php?t=16345) without any success.

I also recommend the XDA-Developers search page (http://forum.xda-developers.com/search.php) with the expressions 'intent', 'midlets', 'midlet' and 'tao group' – you'll find a lot of additional, albeit pretty-hard-to-digest information there.

Finally, if you look around in the JBenchmark MIDP1 and MIDP2-related benchmark pages (here (http://www.jbenchmark.com/result.jsp?benchmark=v1) and here (http://www.jbenchmark.com/result.jsp?benchmark=v2), respectively; make sure you use the default, 'by score' sorting), you'll see that, particularly in the MIDP2 speed tests (in MIDP1 tests, Palm OS devices are generally faster), intent MM beats everything else – even mobile phones meant for gaming.

WebSphere Everyplace Micro Environment MIDP 2.0 5.7.2 (http://www.handango.com/PlatformProductDetail.jsp?siteId=1&platformId=2&N=96806&Ntt=ibm%20j9&productId=140968&R=140968) (IBM J9 for short; you can also grab the (trial version) 900kbyte CAB file here (http://www.winmobiletech.com/sekalaiset/IBMJ9MIDP.zip) to avoid having to download the entire 50 Mbyte installer) is clearly worse and weaker (slower and less compatible) than the intent MM. Note that it's WM2003+ only (no pre-WM2003 versions are available) and is fully compliant with WM5.

Finally, NSICom's CrEme 4.1 (http://www.nsicom.com/Default.aspx?tabid=220&p=4), the best overall Pocket PC generic Java Virtual Machine, is also able to run simple, non-networked midlets. It's, however, really restricted and is, therefore, not recommended at all for anything serious – even IBM J9 is better. Please read this article (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=637&more=1) for more information on this matter. (Nevertheless, in this article I also provide information on using CrEme with midlets.)

Note that the midlet-related situation may be changed in the future in CrEme - I hope so.

Also note that the otherwise decent Pocket PC Web browser NetFront doesn't support midlets. Please see the section "Addition" at the end of this article.

Benchmark results – comparing the available midlet managers

If you run the de-facto standard midlet manager benchmark, JBenchmark (http://www.jbenchmark.com/download.jsp) (note that you should only get JBenchmark and JBenchmark2; none of the available Pocket PC midlet managers are able to run the advanced JBenchmark3D or JBenchmarkHD midlets; CrEme can't even run JBenchmark2 because CrEme is not even MIDP2.0-compliant), you'll see some very strange numbers claiming J9 is far faster than the intent MM. (This will be the case on most Pocket PC's, except for for example the Fujitsu-Siemens Pocket Loox 720, where it runs really-really slow – much slower than some other VGA devices, for example, the Dell Axim x51v. The latter runs the benchmark midlets almost as fast as QVGA Pocket PC's.)

Some numeric JBenchmark results I've measured on my HTC Wizard, under exactly the same circumstances:

Midlet Manager: Intent MM IBM J9 CrEme 4.10
JBenchmark 4950, 5068 (two tests) 31894, 32067 (two tests) 1303
JBenchmark2 486, 499 1618 -
JBenchmark3D - - -
JbenchmarkHD - - -


Don't trust these numbers. For example, J9 seem to have very- very good efficiency with the GUI rendering (JBenchmark2). In reality, however, it doesn't even animate the components – just a static image is displayed; this is why it delivers extraordinarly good results in that test. Furthermore, all animations are far more jerky than with the intent MM; still, JBenchmark reports much better FPS values with J9 than with intent MM. That is, the J9-specific numerical results delivered by JBenchmark are completely useless.

You can also browse the screenshot images taken of these results in this folder (http://www.winmobiletech.com/032006Midlets/bench/). The image files all contain the model of the Pocket PC they were run on (for example, Wizard), the midlet manager used (J9, intent or CrEme), the number of the benchmark (d1: JBenchmark, d2: JBenchmark2 etc.) and, finally, the number of the screenshot of the same report (-1: first, -2: second etc.). That is, for example Wizard-CrEme-d1-2.png stands for the second (-2) screenshot of the intent MM test with JBenchmark (d1) made on the Wizard.

Incidentally, while JBenchmark delivers absolutely useless IBM J9 results, the JBenchmark online databases don't seem to contain (wildly) useless data. They contain a lot of, most probably IBM J9-based data (check out the non-Phone Edition benchmarks!) but they are significantly worse than those of intent. Therefore, the online JBenchmark database can be relied upon, comparison-wise, unlike the "offline" results JBenchmark produces with J9.

Opera Mini compliance

There're two versions of Opera Mini. The advanced MIDP2 version available here (http://www.opera.com/products/mobile/operamini/phones/?phone=generic_advanced_midp_2) (this will work in any MIDP2-compliant midlet manager) and the "basic" MIDP1 version (http://www.opera.com/products/mobile/operamini/phones/?phone=generic_basic_midp_1). With J9, you will need to use the latter because of the networking incompatibility; with intent, the former works great too. As CrEme doesn't let midlets access the network, it can't run Opera Mini either (not even the basic, MIDP1 version).

Yes, IBM J9 will only run the MIDP1 version. With the MIDP2 version, if it is able at all to access the Web, it, generally, won't be able to fetch the contents of long(er) pages entirely. (Tested with the latest currently available Opera Mini version, 1.2.3214.)

Note that, while the intent MM WM5 softkeys, in general, work, that won't be the case with Opera. Also note that you can use both the scrollbar and screen dragging for scrolling. Furthermore, the D-pad works too (Up/down: link jump; left/right: page jump). Finally, note that while J9 supports copying from / pasting to textfields, the intent MM doesn't allow for this. This may be the only real disadvantage of intent MM, compared to J9.

Installing midlets

With the intent MM and J9, you won't need to use .jad files (they're, along with .jar files, also offered for download by all Web pages offering midlet downloads); with CrEme, you must. With the former two, you need to deploy the midlets in them first and only after that can you execute them. With CrEme, you must hand-create a separate .lnk file pointing to your JAD files.

With both intent MM and J9, if the JAR/JAD files are associated with them, all you need to do is click a JAR file to be auto-imported. If they're not associated, you can provide both applications both a remote and a local URL to the JAR file.

Local midlets

With J9, you must use a file:/ / / URL. For example, if you have an a.jar file in the root directory, enter file: / / /a.jar in Install/URL as can be seen here (http://www.winmobiletech.com/032006Midlets/J9InstallLocal.bmp.png).

With intent MM, go to Menu/Install/Local (http://www.winmobiletech.com/032006Midlets/intentMMInstallLocal.bmp.png). Then, the application will display all JAR files on your storage card (http://www.winmobiletech.com/032006Midlets/intentMMInstallLocalStorageCard.bmp.png) (but, interestingly, not in \My Documents, not even with a removed, non-existing storage card). Then, just click a JAR file to be deployed.

Remote midlets

With J9, use the same Install/URL; now, entering the full URL of the JAR; say, http://midlet.org/repository/spruce/spruceman/SpruceMan.jar?md=184, as can be seen here (http://www.winmobiletech.com/032006Midlets/J9InstallRemote.bmp.png).

With the intent MM, go to Menu/Install/Browse and enter the URL (in this case, http://midlet.org/repository/spruce/spruceman/SpruceMan.jar?md=184) in the address bar of IE.

Associating

Of course, it's always the best to make sure JAD and JAR files are associated with your particular application. Upon installation, J9 associates them with itself and PPC PE devices already come with them associated with the intent MM. Should something mess up this, however, you can always restore the association by just importing the necessary registry files (please see this article (http://www.pocketpcmag.com/blogs/menneisyys/UltimateRoundupOfRegistryEditors.asp) for more information on registry editors and importing registry files). They are all available in this archive (http://www.winmobiletech.com/032006Midlets/MidletAssociations.zip).

CrEme

As has been already pointed out, you must pass the JAD file (and not the JAR) to the CrEme runtime. These files must be located on your local PC, unlike with J9/intent MM (that is, you can't pass a URL to CrEme). Do this from a link file with the following contents:

255#"\Windows\Creme\bin\CrEme.exe" -Ob -classpath \ -mv jadfilename.jad

Modify -classpath \ to reflect the directory where your JAD and JAR file is located. Use single quotes (instead of double ones) if the path contains spaces. Also, modify "\Windows\Creme\bin\CrEme.exe" if you install CrEme to anywhere else than the non-main memory accordingly.

A step-by-step Tutorial on setting up Opera Mini


* if you have the intent MM, go to http://www.opera.com/products/mobile/operamini/phones/?phone=generic_advanced_midp_2 from inside Pocket Internet Explorer (PIE) / Internet Explorer Mobile (IEM; this is the new name for PIE begining with WM5) and click opera-mini-advanced.jar as can be seen here (http://www.winmobiletech.com/032006Midlets/DLOperaAdv.bmp.png). On the screen that comes up (http://www.winmobiletech.com/032006Midlets/DLOperaAdv-2.bmp.png), click Yes. The Opera midlet will be deployed inside intent MM; you will only need to click it, allow it to access the Net and also answer Yes to the EULA. This is done in exactly the same way as with the basic version (see the tutorial in the next, IBM J9-related section); the rendering of the dialogs will be a bit different though. After that, you can start browsing right away.

* if you don't have the intent MM, get and install J9 (if you don't want to download the entire 50 Mbyte installer (http://www.handango.com/PlatformProductDetail.jsp?siteId=1&platformId=2&N=96806&Ntt=ibm%20j9&productId=140968&R=140968), the CAB file can be downloaded from here (http://www.winmobiletech.com/sekalaiset/IBMJ9MIDP.zip); uncompress it, transfer to the PDA and click it there from any Pocket PC-based File Explorer).

* Now (still with J9), go to http://www.opera.com/products/mobile/operamini/phones/?phone=generic_basic_midp_1 from inside PIE/IEM and click opera-mini-basic.jar as can be seen here (http://www.winmobiletech.com/032006Midlets/DLOperaBas.bmp.png)
* make sure you check in the "Open file after download" checkbox and click Yes in the next dialog (http://www.winmobiletech.com/032006Midlets/DLOperaBas-2.bmp.png)
* On the dialog presented by J9 after this, click Yes (http://www.winmobiletech.com/032006Midlets/DLOperaBas-3.bmp.png) and then, on the next, OK (http://www.winmobiletech.com/032006Midlets/DLOperaBas-4.bmp.png)
* Now, Opera Mini will be deployed; you will only need to make sure it's highlighted in the above list (if there're already other midlets deployed) and click Launch (http://www.winmobiletech.com/032006Midlets/DLOperaBas-5.bmp.png)
* In the next dialog, just click the highlighted "Press * to test your network connection now." link (http://www.winmobiletech.com/032006Midlets/DLOperaBas-6.bmp.png) and click Yes in the next dialog (http://www.winmobiletech.com/032006Midlets/DLOperaBas-7.bmp.png) (this will BTW always be presented to you after you restart Opera Mini – or, for that matter, any networked midlet and it's because of the lack of this dialog that the Advanced, MIDP2 version of Opera Mini doesn't work under J9).
* Now, Opera Mini will report it has a working internet connection; just click OK (http://www.winmobiletech.com/032006Midlets/DLOperaBas-8.bmp.png) and, then, Close
* Now, the default home screen of Opera Mini is displayed; here, just click any link in the "Bookmarks" section; for example, My Opera (http://www.winmobiletech.com/032006Midlets/DLOperaBas-9.bmp.png) (so that you can accept the EULA - that's a one-time task, as opposed to granting Internet access to midlets)
* On the next dialog, enable "I accept..." and click Continue (http://www.winmobiletech.com/032006Midlets/DLOperaBas-10.bmp.png)
* After this, the page loads and you can start using the browser right away. Always remember to enter the new address in Menu/Enter Address (http://www.winmobiletech.com/032006Midlets/DLOperaBas-11.bmp.png)
* In there (Menu/Enter Address), enter the new page address you want to visit (http://www.winmobiletech.com/032006Midlets/DLOperaBas-12.bmp.png) but don't press Enter; instead, click OK. Note that the basic version has no goodies like "Previous addresses" in Menu, unlike the advanced version (http://www.winmobiletech.com/032006Midlets/OpMiniPrevAddresses.bmp.png): here, Actions only contains 'Clear' (http://www.winmobiletech.com/032006Midlets/OpMiniBasicPrevAddresses.bmp.png).

Finally, don't forget to use Menu/Tools/History (advanced (http://www.winmobiletech.com/032006Midlets/OpMiniHistory-Adv.bmp.png) and basic (http://www.winmobiletech.com/032006Midlets/OpMiniHistory-Bas.bmp.png) screenshot) to quickly switch between the pages you've already visited during your browsing session – when you click a link or submit a HTML form (for people that know HTML/HTTP, even with POST), the old page will still remain accessible here and you can always return to it. This is one of the strengths of Opera Mini – much as it's a "simple" Web browser midlet, it still supports multiple windows.

A Tutorial on setting up Mobile GMaps

If you don't have the intent MM, get J9 and install it (see the Opera Mini tutorial on this). Then, go to http://www.mgmaps.com/download.php from inside Pocket Internet Explorer (PIE) / Internet Explorer Mobile (IEM; this is the new name for PIE begining with WM5) and click JAR as can be seen here (http://www.winmobiletech.com/032006Midlets/MobileGmapDL.bmp.png). Your intent MM / J9 will ask you whether they can deploy it; just let them do it (J9 example here (http://www.winmobiletech.com/032006Midlets/MobileGmapDL-2.bmp.png)). Then, launch it.

The main menu dialog can be seen here (http://www.winmobiletech.com/032006Midlets/MobileGmap-3.bmp.png) (it's very similar when rendered in the intent MM). By clicking Start here, you can start it right away (after making sure "Yes" is chosen in the ubiquitous "Can Mobile GMaps use airtime" question (http://www.winmobiletech.com/032006Midlets/MobileGmap-4.bmp.png)). Then, you can use it right away as can be seen here (http://www.winmobiletech.com/032006Midlets/MobileGmap-5.bmp.png) and here (http://www.winmobiletech.com/032006Midlets/MobileGmap-6.bmp.png) (satellite view).

Note that you always need to install midlets the same way, regardless of their type/origin - you navigate to the given page using PIE/IEM, click the JAR link, let intent MM/J9 deploy the midlet and then, just launch it (and grant it Internet access rights if it's a networked and not just a local midlet).

For ADVANCED users: Where are deployed midlets stored? Additional advanced tips and tricks

After a hard reset, you don't need to re-deploy all your midlets one-by-one by hand in either intent MM or J9.

With the intent MM, the deployed midlets can be found in \Application Data\Tao\intent\; with J9, in \My Documents\midlets and \My Documents\recordStores.

With intent MM, you can simply copy the subdirectories of \Application Data\Tao\intent\app\jam\midlets\ to another device (or, redeploy on the same). The global midlet configuration data is stored in \Application Data\Tao\intent\app\jam\midlets\.midlets.db. This is a textual file that may be manually edited. This also means you can even add midlets to an already existing set of midlets by simply copying the midlet subdirectories to \Application Data\Tao\intent\app\jam\midlets\ and manually adding the additional records to .midlets.db. Note that, however, that you must do the latter using Unix End-of Line (EOL) characters – that is, simple 0A bytes should be used to denote the end of line, not the sequence 0D 0A. Therefore, if you use, for example, Wordpad (because it's able to edit files using the Unix EOL format, unlike Notepad) to edit the file, after editing it, you'll need to convert all 0D 0A byte sequences to single 0A's. I recommend the easy-to-use, free EOLNconv (http://www.sph.sc.edu/comd/rorden/eoln.html) for this task.

With J9, you can also transfer/restore (but can't really add – unfortunately, some of the files in recordStores are binary) already-deployed midlets. Just make sure you transfer both \My Documents\recordStores and \My Documents\midlets.

Finally

Give a try to Opera Mini! I'm pretty sure you'll like it.

I also recommend Mobile Gmaps (http://www.mgmaps.com/) (direct JAR download here (http://wap.mgmaps.com/mgmaps.jar)). It works flawlessly under both intent MM (screenshot 1 (http://www.winmobiletech.com/032006Creme41/MobileGMapsMSNMapsIntentMidletManager-2.bmp.png) and 2 (http://www.winmobiletech.com/032006Creme41/MobileGMapsMSNMapsIntentMidletManager.bmp.png)) and IBM J9 (screenshot here (http://www.winmobiletech.com/032006Midlets/J9MGmmap.bmp.png))). Make sure you choose the MSN maps in Settings if you run into problems.

You can also give a try to the (generic) games (http://midlet.org/category.jsp?parentLevel=1) over at midlet.org; they are, however, not very good – at least compared to mobile phone model/brand-specific, commercial games.

Recommended links

The Smartphone & Pocket PC Magazine Expert Blog (http://www.pocketpcmag.com/blogs). I always post the latest Java- and Web browser-related news, tips and tricks to the blog. Just use the blog search engine to find occurrences of Java (http://www.pocketpcmag.com/blogs/index.php?s=java) .

Using Java on the Pocket PC - the complete tutorial (http://www.pocketpcthoughts.com/forums/viewtopic.php?t=41081). I keep posting (links of) all my new, Java-related articles to this thread too.

ADDITION (19:10 CET, the same day): I have been asked about (http://www.pocketpcmag.com/blogs/index.php?blog=3&title=java_midlets_on_the_pocket_pc_the_comple&more=1&c=1&tb=1&pb=1#comments) NetFront (NF) 3.2, which also boasts a MIDP/CDC engine (http://nfppc.access.co.jp/english/index.html) - in theory.

As upon downloading a JAD/JAR file, NF blindly saves them and doesn't try to actually deploy/execute them, I've scrutinized both the NF 3.2 demos (NF has no decent manual - the \Windows\nf3*.htm help files are far from perfect and don't contain a single word about the Java plug-in) in \JVLite2Demo and the system files in \Program Files\NetFront32\cdc.

As far as the former are concerned, there's only an applet demo (Calculator.lnk) and an application demo (HelloApp.lnk), nothing else.

As far as the system files are concerned, \Program Files\NetFront32\cdc\bin\cvm.exe, the main executable for the Netfront JVM, only supports the following command-line parameters:

-Xnologo
-Xlocale
-Xconsole
-XpauseOnExit
-Xappletmanager
-Xlogo

That is, as far as command-line params are concerned, it only has applications/applets and some generic, for example, console-related parameters – nothing midlet-related (as opposed to, say, the above-mentioned -mv flag in CrEme).

Finally, I've looked for the following essential midlet life cycle-related (http://developers.sun.com/techtopics/mobility/midp/articles/fsm/) methods, exceptions etc. in both \NetFront32\cdc\bin\cvmi.dll and \NetFront32\cdc\lib\personal.jar:

MIDletStateChangeException
startApp
pauseApp
destroyApp

None of these words have been found – they are not implemented at all. (Of course, IBM J9, the intent MM and CrEme implements them all.)

That is, the Pocket PC version of NetFront 3.2 can not be used to run midlets. It only supports Personal Java/CDC, but not "real" midlets.

UPDATE (9:30 CET, the next day): added a full tutorial on setting up Opera Mini and Mobile GMaps.

Menneisyys
03-16-2006, 07:23 PM
ADDITION (19:10 CET, the same day): I have been asked about (http://www.pocketpcmag.com/blogs/index.php?blog=3&title=java_midlets_on_the_pocket_pc_the_comple&more=1&c=1&tb=1&pb=1#comments) NetFront (NF) 3.2, which also boasts a MIDP/CDC engine (http://nfppc.access.co.jp/english/index.html) - in theory.

As upon downloading a JAD/JAR file, NF blindly saves them and doesn't try to actually deploy/execute them, I've scrutinized both the NF 3.2 demos (NF has no decent manual - the \Windows\nf3*.htm help files are far from perfect and don't contain a single word about the Java plug-in) in \JVLite2Demo and the system files in \Program Files\NetFront32\cdc.

As far as the former are concerned, there's only an applet demo (Calculator.lnk) and an application demo (HelloApp.lnk), nothing else.

As far as the system files are concerned, \Program Files\NetFront32\cdc\bin\cvm.exe, the main executable for the Netfront JVM, only supports the following command-line parameters:

-Xnologo
-Xlocale
-Xconsole
-XpauseOnExit
-Xappletmanager
-Xlogo

That is, as far as command-line params are concerned, it only has applications/applets and some generic, for example, console-related parameters – nothing midlet-related (as opposed to, say, the above-mentioned -mv flag in CrEme).

Finally, I've looked for the following essential midlet life cycle-related (http://developers.sun.com/techtopics/mobility/midp/articles/fsm/) methods, exceptions etc. in both \NetFront32\cdc\bin\cvmi.dll and \NetFront32\cdc\lib\personal.jar:

MIDletStateChangeException
startApp
pauseApp
destroyApp

None of these words have been found – they are not implemented at all. (Of course, IBM J9, the intent MM and CrEme implements them all.)

That is, the Pocket PC version of NetFront 3.2 can not be used to run midlets. It only supports Personal Java/CDC, but not "real" midlets.

Menneisyys
03-17-2006, 09:53 AM
UPDATE (9:30 CET, the next day): added a full tutorial on setting up Opera Mini and Mobile GMaps. Also, incorporated the later-posted NetFront section in the article.

Robb Bates
03-27-2006, 07:28 PM
It comes pre-installed on all known HTC Phone Edition Pocket PC's.

Is this true of the HTC Apache, aka Sprint PPC6700?

Robb

Menneisyys
03-30-2006, 09:14 AM
It comes pre-installed on all known HTC Phone Edition Pocket PC's.

Is this true of the HTC Apache, aka Sprint PPC6700?

Robb

Dunno (don't have a 6700 and I only know for sure about the T-Mobile MDA to lack the Midlet Manager entirely) - do you have a Midlet Manager icon? What happens if you click a JAR link on the Web (for example, that of Opera Mini)? Is the JAR just blindly downloaded without further actions, or, is a Midlet Manager invoked?

Robb Bates
03-30-2006, 03:26 PM
No icon, .jar files don't have an association, and they just download.

I guess that means there's no midlet manager, eh? I wonder if it's hidden somewhere, just not activated.

Robb

Menneisyys
03-30-2006, 03:31 PM
No icon, .jar files don't have an association, and they just download.

I guess that means there's no midlet manager, eh? I wonder if it's hidden somewhere, just not activated.

Robb

Look around in \Windows - do you see files like jmm.exe or, mre generally, jmm*.*?

Robb Bates
03-30-2006, 03:39 PM
Nothing. I even did a device-wide search for j*.

No luck.

Robb

Menneisyys
03-30-2006, 04:53 PM
Nothing. I even did a device-wide search for j*.

No luck.

Robb

Then, you may be out of luck. You may also want to give a try to http://forum.xda-developers.com/search.php

pierro78
12-06-2006, 08:38 PM
Hi Menneisys and Everybody,

Now that you have "unlimited internet" with t-mobile t-zones ( http://jkontherun.blogs.com/jkontherun/2006/12/got_tmobile_tzo.html ) I can happily surf the internet using opera mini on my Wizard :)

However I would like to surf in full screen mode (no WM5 menu bar at the top or the bottom) as my Wizard screen is so small ... any idea how I could do that ?

(I am using the intlent midlet manager)

Thanks !
Pierre

Menneisyys
12-06-2006, 08:42 PM
Hi Menneisys and Everybody,

Now that you have "unlimited internet" with t-mobile t-zones ( http://jkontherun.blogs.com/jkontherun/2006/12/got_tmobile_tzo.html ) I can happily surf the internet using opera mini on my Wizard :)

However I would like to surf in full screen mode (no WM5 menu bar at the top or the bottom) as my Wizard screen is so small ... any idea how I could do that ?

(I am using the intlent midlet manager)

Thanks !
Pierre

I don't think it's possible, sorry.