showProperties.java
上传用户:gyyuli
上传日期:2013-07-09
资源大小:3050k
文件大小:1k
源码类别:

J2ME

开发平台:

Java

  1. import javax.microedition.midlet.*;
  2. public class showProperties extends MIDlet
  3. {
  4. public void startApp() throws MIDletStateChangeException{
  5. System.out.println("Vendor: " + getAppProperty("MIDlet-Vendor"));
  6. System.out.println("Description: " + getAppProperty("MIDlet-Description"));
  7. System.out.println("JadFile Version: " + getAppProperty("JadFile-Version"));
  8. System.out.println("MIDlet-Data-Size: " + getAppProperty("MIDlet-Data-Size"));
  9. }
  10. public void pauseApp(){
  11. }
  12. public void destroyApp(boolean unconditional){ 
  13. }
  14. }