Get Version App

Vincenzo

Member
Licensed User
Longtime User
Hi,
new problem by reflect.
you can not add a class in java for some functionality a little compicate?
have read the version of my app, and I found some examples in java.
someone can convert them with the class reflector?
_____________
try {
PackageInfo manager=getPackageManager().getPackageInfo(getPackageName(), 0);
manager.versionName;
} catch (NameNotFoundException e) {
//Handle exception
}
________
 
Top