Using IBM's Java VM to run Mobile GMaps on Windows-Mobile PocketPC or Smartphone
thanks to Turgan Savas, Jocky Wilson and others
updated April 11th, 2008
- Download and Install IBM's WEME 2.0
- Browse to
WebSphere Everyplace Micro Environment download page. UPDATE: The files are mirrored here.
- Register for the site
- Download and install on your PC the Windows, Windows CE, Windows-Mobile version under WebSphere Everyplace Micro Environment page:
- For Windows-Mobile smartphone, get CLDC 1.1/MIDP 2.0 for Windows Mobile 5.0 Smartphone Edition/ARM, executable file:
- For Windows-Mobile PDA (PocketPC), get CLDC 1.1/MIDP 2.0 for Windows Mobile 5.0/ARM, executable file:
- If you get the following error upon installing WEME:
"Invalid fontPaths.properties detected. Please delete fontPaths.properties in /lib/jclMidp20/ and restart the MIDlet."
get an older version of J9 from this link.
Also check step #15.
- Browse to where the files are installed
- C:\Program Files\IBM\WEME\runtimes\61\
- Find the zip file under this directory: weme-wm50-sp-arm-midp20_188.8.131.5261110-161633.zip or weme-wm50-arm-midp20_184.108.40.20661110-161633.zip
- Extract it, and move all extracted files to your pocket pc or memory card, under a \J9\MIDP2\ directory.
- Files and directories extracted: <bin> , <doc> , <examples> , <lib> , copyright.txt, buildinfo.xml
- Check step #14 if you want to use stored maps.
- Go to your device to where you moved the files, run EMULATOR.exe which is will be under J9\MIDP2\BIN directory
- You will be presented with the following screen:
- Now go to Download Page http://www.mgmaps.com/download.php download and move JAD and JAR files to the root directory of your pocket pc. Under windows file explorer, pocket pc root is usually titled "My Windows Mobile-Based Device".
- Once these files are on the root, type file:///mgmaps.jad in the url field to install the signed version of the application from the JAD. Click Ok.
- You'll see a bunch of confirmation screens. Click ok.
- Once finished, run Mobile GMaps.
- If you see the following when you finally launch Mobile GMaps you have to set up your proxy:
- Optional, only if needed (for T-Mobile): Once the program is launched, go to settings to setup proxy. Enter proxy settings:
- For more proxy settings information for T-Mobile check here or here.
- Settings for T-Mobile: 216.155.165.050 Primary Proxy Port Number: 8080.
- Set up the GPS, if you have one. In the application menu select Settings, then GPS, Select Device, Serial, Custom and enter the COM port for your GPS, for example COM6.
If you have a bluetooth GPS, find out the name of the virtual serial port assigned for it and enter it as described above. If you have an internal GPS on WM6, you can assign a virtual serial port to it with this GPSID Configuration utility.
- The new stored maps feature requires JSR-75 support. Unfortunately JSR-75 is not included in the standard IBM J9 package for WM5/6 devices. Luckily IBM offers an extension which is easy to install. You only have to copy 2 files to the right location. This is described in detail in the blog of Markus Brosch: http://www.markus.brosch.net/?p=111. If you already installed IBM J9 then there are only 3 steps:
After you installed JSR-75 restart IBM J9 and start MGMaps, go into Settings - Map Browsing and select the "Stored Maps" checkbox. In the "Storage Path" textbox enter "/Storage Card" if you stored the offline map directory under the root directory of the memory card.
- Download this jar from IBM. Unzip it. It contains a folder called "fixed". Mirrored here.
- Copy: fixed\ive-2.2\runtimes\wm2003\arm\midp2\bin\fileconn.dll into this folder on you mobile device: \Storage Card\J9\MIDP2\bin\
- Copy: fixed\ive-2.2\runtimes\wm2003\arm\midp2\lib\jclMidp20\ext\fc.jar into this folder on you mobile device: \Storage Card\J9\MIDP2\lib\jclMidp20\ext\
- If you're using a Windows-Mobile 6.0 phone, you may see junk characters instead of screen messages and menu.
If this happens, you need to edit the file named "fontPaths.properties" in the folder "J9\MIDP2\lib\jclMidp20\". Change the text in that file to:
If your phone doesn't have these fonts, simply copy the .ttf files from your computer's font list into the phone's \Windows folder.
- Anyhow, if everything works out fine, once you are done using the app to run Mobile GMaps next time, browse to "\Storage Card\J9\MIDP\bin\" and run Emulator, select Mobile GMaps and choose Launch from Actions menu.
Back to MGMaps.com homepage
Copyright © 2007-2008 Cristian Streng