03-13-2013 02:20 AM
Is there a way to extract a version number and other information from bar-descriptor.xml file similar to how it's done in Android world via getPackageInfo() in PackageManager?
That'd be a handy way to play around those values in your code.
Solved! Go to Solution.
03-13-2013 02:30 AM - edited 03-13-2013 02:31 AM
There are various platform apis that you can use such as the PackageInfo,
03-13-2013 10:14 AM
07-06-2013 02:22 AM
You can use ApplicationInfo class to find out application version like this
Also you can use
This will return version in 0.0.0.0 format. The first three portion contains package version and last one is the package build id.