@related : J2ME JVM Java

http://synclast.com/midp_emulation.jsp

[[OpenSource]]

News :

http://qa.debian.org/watch/sf.php?project=superwaba superwaba_SOURCES(.*).tar.gz

ed2k://|file|superwaba_SOURCES.tar.gz|1336601|fae11151747f55dd5a94b90dda04a8c4|
cd SuperWabaSDK
ant build
SuperWabaSDK/build.xml:552: required fonts are missing, cannot proceed
# msttcorefonts ?

export SUPERWABA_ROOT=${SUPERWABA_ROOT:=`pwd`}

ToDo

GPL version, and unrar the exe file into a dir. Then add

$SUPERWABA_ROOT:/lib/SuperWabaTools.jar
$SUPERWABA_ROOT:/lib/SuperWaba.jar

in your PATH and you can compile superwaba application.

I use GCJ cause is faster and because JDK 1.5 doesn't support -target 1.1 flag, required. I made a bash script to make this :

#===/bin/sh===
export SUPERWABA_ROOT=${SUPERWABA_ROOT:=/opt/superwaba}
#compiling
gcj --classpath .:$SUPERWABA_ROOT:/lib/SuperWabaTools.jar:$SUPERWABA_ROOT/lib/SuperWaba.jar \
  -C $1.java
#preparing PalmOS and database stuff
java -classpath $SUPERWABA_ROOT/lib/SuperWabaTools.jar -Dsdk.root="$SUPERWABA_ROOT" \
  superwaba.tools.Warp c $1

#preparing EXE for WinCE
java -classpath $SUPERWABA_ROOT/lib/SuperWabaTools.jar:
$SUPERWABA_ROOT/lib/SuperWaba.jar -Dsdk.root="$SUPERWABA_ROOT"
superwaba.tools.Exegen /m /v 1.0 /t $1 /p $1 /e $1

so just use this script to compile your class example : compile.sh MyTest

where MyTest.java is the source

java -classpath .:$SUPERWABA_ROOT/lib/SuperWaba.jar waba.applet.Applet \
/w 240 /h 291 /uiStyle WinCE /bpp 8 /scale 1 MyTest

or GIJ can be used too.

About SWDiet3D : I saw that on PC switching mode, shapes is ok, no delay etc , even with Button class instead of primitive graphics control but in the PDA(in my case pocket pc 2001) I see a little delay, even if I use the other way instead of Button.

Changes in superwaba from J2ME : there is a main class, the MainWIndow that starts any application, there is not Canvas but an onPaint(Graphics g) method in MainWindow class.

to run in PC superwaba app for testing

misc

midp.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki