Sunday, January 28, 2007

Link to JAVA MIDlet Applications

After looking all over the internet to figure out how to make a shortcut directly to a JAVA MIDlet on my Pocket PC for the Start Menu, I finally compiled this for your enjoyment:
  • The "right-click" in explorer didn't give me the option to create a shortcut.
  • I didn't find out 'till after the fact, that you have to "Show All Files" for the "jmm.exe" file to show up in "\Windows\". Oh well. Doesn't matter.
  • I'm pretty sure this requires "Total Commander" Google it, it's free and easy.
  • You should already have launched your Application once from MIDlet manager.
  • Some apps, like Gmail, must already be running to work from this shortcut.
To create a Start Menu or Programs Shortcut to your favorite JAVA application:
  1. Open up the MIDlet manager however you do that.
  2. "Hold tap" to open the context menu.
  3. Press "A" or click "About".
  4. Note the name of the Vendor and Name that appears.
    • In my case the Vendor is "Google" and the name is "Gmail" for the Gmail Application
    • WRITE IT DOWN... You need it in a minute...
    • Yes, it's case sensitive.
  5. From here, there are three options, but they both end in the same place, so start at step 3.
    1. Use your Pocket PC to create the "shortcut":
      1. Create a shortcut to "\Windows\jmm.exe" by...
      2. Go to "\Windows" in "File Explorer".
      3. "Hold tap" on "jmm.exe".
      4. Select "Copy".
      5. Goto "\Windows\Start Menu".
      6. "Hold tap" and select "Paste".
      7. This supposedly creates a shortcut. I didn't do it this way, so I don't know.
    2. Use your Non-Pocket PC to create the shortcut:
      1. Connect with Active Sync.
      2. Right click in "\Windows\Start Menu" and click "Create Shortcut".
      3. My computer (Windows Vista) did not give me this option, so I don't know.
        • The best and easiest way to do it is below.
    3. Create the shortcut in one swoop with "Total Commander":
      1. Use TC to locate "\Windows\Start Menu".
      2. Copy and paste one of the other shortcuts located there.
        • I used Media Player
      3. Select your newly created shortcut and rename it to whatever you desire.
        • In my case, I chose "Gmail".
      4. With your new shortcut selected, click on the notepad icon at the bottom to open the file with TC's built-in text editor.
        • You should see (if you used Media Player as the source to copy):
        • 13#:WMPLAYER?:mediaplayerapp
      5. Delete that line.
      6. Type (/Transcribe/Letter Recognize/Tap in):
        • 48#"\Windows\jmm.exe" -r"","",""
        • 48#"\Windows\jmm.exe" -r"Gmail","Google","Gmail"
        • To pick a special icon, you can follow up this line with:
          • "?file.ext,index" where "file.ext" is a file containing icons, and "index" is the index of the icon within that file.
          • For example: "...CALENDAR?outres.dll,-10002"
      7. Click "OK" to save and wham, bam, check out that Start Menu.
  6. Click to launch.

3 comments:

Anonymous said...

works very well except for mine I had to replace your "48" with "18"

Murali Kesavan said...

Works Partially, It opens the midlet manager for less than a second and promptly closes it. Any ideas as to how to make it work?. I use a Magician ( XDA Mini + Intent Midlet Manager)

Anonymous said...

I would like to exchange links with your site utkwes.blogspot.com
Is this possible?