View Single Post
  #5 (permalink)  
Old 07-08-2008, 07:41 AM
winhax
Neophyte
Join Date: Jun 2008
Posts: 5
Default I got it...

Ok, I figured it out. If anyone is interested in creating a Midlet directly on your smartphone and/or Pocket PC, here's what I did.

  1. Create your .java files, resource files, and MANIFEST.MF (on your computer or on your smartphone).
  2. Use the online JXXX Compiler service (JXXX Compiler Service) or Mysaifu (http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html) to compile your .java files into .class files.
  3. Use Total Commander (or equivalent file manager, with ability to pack files into a .zip archive) to create a folder called "META-INF" (without quotes).
  4. Place your MANIFEST.MF file into the "META-INF" folder.
  5. Use the pack command in Total Commander to pack all the files into a new midlet.zip file (make sure you don't create a zip with a folder holding your files, only add the files you would normally .jar archive).
  6. Rename the midlet.zip to midlet.jar.
  7. install the midlet.jar from within your favorite midlet manager.
That's what I came up with. Let me know if anyone has a faster or easier way.

 
Reply With Quote