J2ME System.getProperty() 能够得到的东西总结
在JSR规范里面 J2ME 是可以通过 System.getProperty(String key) 得到一些你想要的东东。
J2ME Defined System Properties
JSRProperty Name Default Value130microedition.platformnull microedition.encodingISO8859_1 microedition.configurationCLDC-1.0 microedition.profilesnull37microedition.localenull microedition.profilesMIDP-1.075microedition.io.file.FileConnection.version1.0 file.separator(impl-dep) microedition.pim.version1.0118microedition.localenull microedition.profilesMIDP-2.0 microedition.commports(impl-dep) microedition.hostname(impl-dep)120wireless.messaging.sms.smsc(impl-dep)139microedition.platform(impl-dep) microedition.encodingISO8859-1 microedition.configurationCLDC-1.1 microedition.profiles(impl-dep)177microedition.smartcardslots(impl-dep)179microedition.location.version1.0180microedition.sip.version1.0184microedition.m3g.version1.0185microedition.jtwi.version1.0195microedition.locale(impl-dep) microedition.profilesIMP-1.0205wireless.messaging.sms.smsc(impl-dep)205wireless.messaging.mms.mmsc(impl-dep)211CHAPI-Version1.0
1(impl-dep) indicates that the default value is implementation-dependent.
我用Nokia 6303C 移动动感地带的环境下 测试过 wireless.messaging.sms.smsc 得到的是 13800100500 这个是北京的sim卡短信息中心号码
wireless.messaging.mms.mmsc 得到的是 http://mmsc.monternet.com 这个是彩信的东东
microedition.locale 得到的是zh-CN
其他的各位童鞋们 自己测试下吧