|
| Iniciado por guest, 08,jul. 2015 10:59 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 08,julio 2015 - 10:59 |
I can't find a way to show the version of the app in WM 20 - it shows on the splash screen but how do I show it on other screens please?
Thanks
Pete |
| |
| |
| | | |
|
| | |
| |
| Publicado el 08,julio 2015 - 11:05 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 08,julio 2015 - 20:05 |
Pete,
For android, this is a Java function I use
import android.content.pm.PackageManager; import android.content.pm.PackageInfo; import android.content.*;
public static String JGetBuild() { Context mycontext = getApplicationContext(); PackageManager manager = mycontext.getPackageManager(); PackageInfo info = null; try { info = manager.getPackageInfo(mycontext.getPackageName(),0); } catch(PackageManager.NameNotFoundException ex) {
} finally {
}
return(info.versionCode+""); }
Maybe it can help ?
Have a nice day Danny |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,julio 2015 - 12:13 |
Thanks Paulo and Danny,
In the end, the simplest code was:
STC_Version=ExeInfo(exeVersion)
Cheers
Pete |
| |
| |
| | | |
|
| | | | |
| | |
|