`
Teok
  • 浏览: 148442 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

J2ME System property

    博客分类:
  • J2ME
 
阅读更多
CLDC几个常用的系统属性:
//手机平台型号
    String platform = System.getProperty("microedition.platform");
    //SMS服务中心号码
    String _smscno = System.getProperty("wireless.messaging.sms.smsc");
    
    //CLDC版本属性
    String cldc = System.getProperty("microedition.configuration");
    //MIPD版本属性
    String midp = System.getProperty("microedition.profiles");
    
    //关于软件相关信息
    String midletVendor =System.getProperty("MIDlet-Vendor");
    String description =System.getProperty("MIDlet-Description");
    String version = System.getProperty("MIDlet-Version");    
    String dataSize = System.getProperty("MIDlet-Data-Size");    
    String midletName = System.getProperty("MIDlet-Name");
    String midletJarSize =System.getProperty("MIDlet-Jar-Size");
    String midletJarURL =System.getProperty("MIDlet-Jar-URL");
    
    
    //系统编码
    String encoding = System.getProperty("microedition.encoding");
    //区域设置
    String locale = System.getProperty("microedition.locale");
    //判断是否支持MMAPI
    String mmapi = System.getProperty("microedition.media.version");
    //判断是否支持蓝牙
    String bluetooth = System.getProperty("bluetooth.api.version");
    //判断是否支持个人信息管理
    String pim = System.getProperty("microedition.pim.version");
    //判断是否支持文件系统
    String file = System.getProperty("microedition.io.file.FileConnection. version");
    //判断是否支持SIP
    String sip = System.getProperty("microedition.sip.version");
    //判断是否支持M3G
    String m3g = System.getProperty("microedition.m3g.version");

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics