My photo
›› [updates]

J2ME mini howto

  • You need Java Wireless toolkit
  • Create some .java file with class extending MIDlet
  • Compile by javac -target 1.4 -source 1.4 -bootclasspath midpapi20.jar:cldcapi11.jar <File.java> (especially target and source opts are required for running and emulating; use appropriate paths for jars)
  • Verify by preverify -classpath midpapi20.jar:libcldcapi11.jar -d . <class> with corrected paths
  • Run emulator: emulator -cp . <class>
  • Create manifest, jar and jad as usual and upload to the phone and enjoy the fun ;)

EN/CZ dictionary

Directory.
This is under construction.

Swing example


Sourcecode
Copyleft (c) 2008-2010 Jiri Slaby