jefferykim
发贴: 34
积分: 10
|
于 2004-03-01 10:44
First you should create a directory in your web server, let us name "midlet" and your midlet name is "mymidlet", the jad file is mymidlet.jad and jar file is mymidlet.jar.
Then you copy the jad, jar files into midlet. You need compose a wml file that includes your midlet description.
Note that the jad file, please make sure like the following:
MIDlet-Jar-URL: mymidlet.jar
The wml page is similar to the following code:
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> <wml> <card id="card1" title="Your Page title"> <a href="midlet/mymidlet.jad">Your jad description</a> </card> </wml>
|