codename one app version number programmatically

岁酱吖の 提交于 2019-12-01 02:04:41

问题


I'm trying to get application version from the code at runtime

how to get codename1.version from codenameone_settings.properties programmatically


回答1:


Use Display.getInstance().getProperty("AppVersion", "1.0"), it will return the app version



来源:https://stackoverflow.com/questions/40101244/codename-one-app-version-number-programmatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!