/*
* Midlet.java
*
* Created on 2008年9月17日, 上午10:49
*/
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.MIDlet;
/**
*
* @author Administrator
* @version
*/
public class Exec extends MIDlet {
public void startApp() {
Display display = Display.getDisplay(this);
Form form = new Form("欢迎您!");
StringBuffer result = new StringBuffer();
result.append("microedition.platform="
+ System.getProperty("microedition.platform") + "\n");
result.append("microedition.encoding="
+ System.getProperty("microedition.encoding") + "\n");
result.append("microedition.cmicroedition.configuration") + "\n");
result.append("microedition.locale="
+ System.getProperty("microedition.locale") + "\n");
result.append("microedition.profiles="
+ System.getProperty("microedition.profiles") + "\n");
form.append(result.toString());
display.setCurrent(form);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
[此贴子已经被作者于2010-12-12 18:24:56编辑过]