Compiling Midlets on a T-Mobile Dash or other Smartphone
I've been wondering is there any way to set up a JavaME environment on a Smartphone, specifically a T-mobile Dash? Not a JavaSE environment but one that utilizes CDLC and MIDP. I have a wireless keyboard that I use with my Dash and I'm a self-labeled Gnork (Geek, Nerd, Dork) and I rarely use my Smartphone as just a Phone/PDA. I was working on an RPG and on my breaks at work or whenever I have a few minutes I pull out my Dash and edit source code. If anyone has any ideas or suggestions please let me know. Or, if this is a lost cause please let me know so I can start working on something else.
That would work but I was looking for a way to create the .jar file directly online; not a JavaSE .jar, a JavaME .jar compiled completely online on on mobile.
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).
Place your MANIFEST.MF file into the "META-INF" folder.
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).
Rename the midlet.zip to midlet.jar.
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.
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).
Place your MANIFEST.MF file into the "META-INF" folder.
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).
Rename the midlet.zip to midlet.jar.
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.
I use Mortscript scripts to launch the compiler (Kopisusu.jar running under MySaifu) and to get JBed to run compiled and preverified (via Proguard) class files. Check it out.