Search code examples
blackberry-10blackberry-cascades

Extract a version number from bar-descriptor.xml file programatically


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?


Solution

  • For some reason missed classes which allow to do this exactly: