在JSR规范里面 J2ME 是可以通过 System.getProperty(String key) 得到一些你想要的东东。
J2ME Defined System Properties
JSR | Property Name | Default Value¹ |
30 | microedition.platform | null |
| microedition.encoding | ISO8859_1 |
| microedition.configuration | CLDC-1.0 |
| microedition.profiles | null |
37 | microedition.locale | null |
| microedition.profiles | MIDP-1.0 |
75 | microedition.io.file.FileConnection.version | 1.0 |
| file.separator | (impl-dep) |
| microedition.pim.version | 1.0 |
118 | microedition.locale | null |
| microedition.profiles | MIDP-2.0 |
| microedition.commports | (impl-dep) |
| microedition.hostname | (impl-dep) |
120 | wireless.messaging.sms.smsc | (impl-dep) |
139 | microedition.platform | (impl-dep) |
| microedition.encoding | ISO8859-1 |
| microedition.configuration | CLDC-1.1 |
| microedition.profiles | (impl-dep) |
177 | microedition.smartcardslots | (impl-dep) |
179 | microedition.location.version | 1.0 |
180 | microedition.sip.version | 1.0 |
184 | microedition.m3g.version | 1.0 |
185 | microedition.jtwi.version | 1.0 |
195 | microedition.locale | (impl-dep) |
| microedition.profiles | IMP-1.0 |
205 | wireless.messaging.sms.smsc | (impl-dep) |
205 | wireless.messaging.mms.mmsc | (impl-dep) |
211 | CHAPI-Version | 1.0 |
¹(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
其他的各位童鞋们 自己测试下吧
分享到:
相关推荐
J2ME..里面得DEMO..学习J2ME的最佳捷径。。
J2ME概述.doc J2ME概述.doc J2ME概述.doc
第一章 J2ME概论.ppt 第一章 J2ME概论.ppt 第一章 J2ME概论.ppt 第一章 J2ME概论.ppt 第一章 J2ME概论.ppt
j2me游戏.rarj2me游戏.rar
11个J2ME例子.rar11个J2ME例子.rar
J2me 的 .jar.下载了这个和。jad然后运行.jad就可以了约、如果有什么不明白的地方就跟我说哈。还有什么bug也通知我一下哈
J2ME各API查询工具(j2me).rar
[j2me开发学习资料].j2me.rar[j2me开发学习资料].j2me.rar [j2me开发学习资料].j2me.rar[j2me开发学习资料].j2me.rar[j2me开发学习资料].j2me.rar
J2ME2.5.chm
开发易于移植的J2ME游戏.doc 开发易于移植的J2ME游戏.doc
第一章J2ME简介--j2me开发.ppt
J2ME教程.rar
前言--j2me开发.ppt j2me开发文档
J2ME API .chm 格式
中国移动初级应用开发者(J2ME).pdf
j2me ch2.rarj2me ch2.rar
第四章高级用户界面及事件处理--j2me开发.ppt
j2me.js 是在 JavaScript 中的 J2ME 虚拟机。J2me.js 的当前目标是:运行 MIDlets,模拟电话ME Feature MR4 (b01)实现方式保持 j2me.js 简单和精悍 标签:j2mejs 分享 ...
第二章MIDlet--j2me开发.ppt
第九章数据存储--j2me开发.ppt j2me开发文档