I'm trying to get application version from the code at runtime
how to get codename1.version
from codenameone_settings.properties
programmatically
Use Display.getInstance().getProperty("AppVersion", "1.0")
, it will return the app version
来源:https://stackoverflow.com/questions/40101244/codename-one-app-version-number-programmatically