我有以下说明的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。
最佳答案
来自您的MIDlet子类
String version = getAppProperty("MIDlet-Version");
摘自:
http://www.developer.nokia.com/Community/Discussion/showthread.php?153128-MIDlet-Version
关于java-me - 如何在Lwuit中获取Midlet版本?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10190292/