Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Programmatically Access Your Application Version

by BlackBerry Development Advisor on ‎02-27-2013 04:48 PM (3,736 Views)

I like to be able to determine the application version when my application runs. This is useful for bug reporting, savefiles, etc...


The following code snippet can be used to determine your application version.


var appXml:XML = NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appXml.namespace();
var appVersion:String = appXml.ns::versionNumber[0];


Users Online
Currently online: 19 members 1,701 guests
Please welcome our newest community members: