Submit a Kjava game that is moving online, if you use JB to pack the platform API problem.
Now we can use ANT package to solve the mobile platform API problem. The specific method is as follows:
1. Download Antenna-bin-0.9.13.jar, Apache-Ant-1.6.22. Put antenna-bin-0.9.13.jar under Apache-Ant-1.6.2 / Lib, 3. Put nokiaui.jar Put it under Apache-Ant-1.6.2 / Lib, 4. Put Gx.jar in Apache-Ant-1.6.2 / Lib,
5. Set an ANT environment variable: there are two items of Ant_home 6. Write Bulid.xml
7. After packaging, there is a manifest.mf file in the same directory of Bulid.xml, you can put this in JAR replace it, can reduce a little size.
8.Microedition-Profile: MIDP-1.0 MicroEDition-Configration: CLDC-1.0 Media-Price: 5 yuan Each time you can handle it in Jad, build.xml seems to have no options to add this.
Here is an example: Bulid.xml
XML Version = "1.0"?>
wtkjad>
$ {midlet.home} destdir = "classes" preverify = "false" encoding = "UTF-8" />
$ {midlet.name} .jar "jadfile =" $ {midlet.name} .jad "manifest =" manifest.mf "OBFUSCATE =" true "> < FileSet Dir = "classes" />
->
target>
provject>