当前位置: 技术问答>java相关
请问388上开发j2me得问题
来源: 互联网 发布时间:2015-10-26
本文导语: 读出当前手机语言设置得参数是什么? 我用java System.getProperty("参数") | g.drawString("Phone Parameter:",0, 0, Graphics.LEFT | Graphics.TOP); g.drawString("IMEI:",0, 30, Graphics.LEFT | Graphics.TOP); g.drawString(System.getPro...
读出当前手机语言设置得参数是什么?
我用java System.getProperty("参数")
我用java System.getProperty("参数")
|
g.drawString("Phone Parameter:",0, 0, Graphics.LEFT | Graphics.TOP);
g.drawString("IMEI:",0, 30, Graphics.LEFT | Graphics.TOP);
g.drawString(System.getProperty("phone.imei"),0, 60, Graphics.LEFT | Graphics.TOP);
g.drawString("Network Parameter:",0, 90, Graphics.LEFT | Graphics.TOP);
g.drawString("MCC:"+System.getProperty("phone.mcc"),0, 120, Graphics.LEFT | Graphics.TOP);
g.drawString("MNC:"+System.getProperty("phone.mnc"),0, 150, Graphics.LEFT | Graphics.TOP);
g.drawString("LAI:"+System.getProperty("phone.lai"),0, 180, Graphics.LEFT | Graphics.TOP);
g.drawString("CID:"+System.getProperty("phone.cid"),0, 210, Graphics.LEFT | Graphics.TOP);
g.drawString("CID:"+System.getProperty("phone.cid"),0, 310, Graphics.LEFT | Graphics.TOP);
刚当版主,是个新手,大家关照
g.drawString("IMEI:",0, 30, Graphics.LEFT | Graphics.TOP);
g.drawString(System.getProperty("phone.imei"),0, 60, Graphics.LEFT | Graphics.TOP);
g.drawString("Network Parameter:",0, 90, Graphics.LEFT | Graphics.TOP);
g.drawString("MCC:"+System.getProperty("phone.mcc"),0, 120, Graphics.LEFT | Graphics.TOP);
g.drawString("MNC:"+System.getProperty("phone.mnc"),0, 150, Graphics.LEFT | Graphics.TOP);
g.drawString("LAI:"+System.getProperty("phone.lai"),0, 180, Graphics.LEFT | Graphics.TOP);
g.drawString("CID:"+System.getProperty("phone.cid"),0, 210, Graphics.LEFT | Graphics.TOP);
g.drawString("CID:"+System.getProperty("phone.cid"),0, 310, Graphics.LEFT | Graphics.TOP);
刚当版主,是个新手,大家关照
|
Standard Properties
1.microedition.platform
The host platform or device
Default: null
2.microedition.encoding
The default character encoding
Default: ISO8859_1
3.microedition.configurations
Current J2ME configuration and version
Default: CLDC-1.0
4.microedition.profiles
Name of supported profiles
Default: null
1.microedition.platform
The host platform or device
Default: null
2.microedition.encoding
The default character encoding
Default: ISO8859_1
3.microedition.configurations
Current J2ME configuration and version
Default: CLDC-1.0
4.microedition.profiles
Name of supported profiles
Default: null