首页 > 学院 > 开发设计 > 正文

j2me getProperty

2019-11-18 11:23:14
字体:
来源:转载
供稿:网友

System.getPRoperty(String key)和MIDlet.getAppProperty(String key)方法的具体说明

ystem.getProperty(String key)标准的5个属性键列表如下:

属性键值  描述  默认值 
microedition.configuration  支持的configuration的名称和版本号
microedition.encoding       平台使用的默认字符编码方式
microedition.locale         平台当前locale
microedition.platform       宿主平台名称
microedition.profiles       所有支持的profile的名称

在索爱T630模拟器上得到的结果分别是
CLDC-1.0GBKzh_CNj2meMIDP-1.0

MIDlet.getAppProperty(String key)标准的属性键列表如下:
MIDlet-Name
MIDlet-Jar-Size
MIDlet-Jar-URL
MIDlet-Vendor

各个厂商的手机或许会有自己的扩充键值。



发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表