我有如下描述的jad文件
MIDlet-Jar-Size: 404071
MIDlet-Jar-URL: test.jar
MIDlet-Name: test
MIDlet-Vendor: Vendor
MIDlet-Version: 1.0.1
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
MicroEdition-test: test如何通过代码获取MIDlet-Version?
我尝试过System.getProperty("MIDlet-Version"),但它返回null。
发布于 2012-04-17 21:13:57
从您的MIDlet子类
String version = getAppProperty("MIDlet-Version");摘自:
http://www.developer.nokia.com/Community/Discussion/showthread.php?153128-MIDlet-Version
发布于 2012-04-19 14:46:49
System.getProperty(" midlet -Version")只能在midlet中工作或从midlet实例中调用。
https://stackoverflow.com/questions/10190292
复制相似问题