zab*_*bar 7 air android actionscript-3 ios
Air中是否有as3 API(我使用3.2)来访问我的应用程序版本?我在App Store或Android Market上发布的那个?
是的,你可以直接从应用程序xml描述符中提取它.这样的事情应该有效:
var descriptor:XML = NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = descriptor.namespace();
var version:String = descriptor.ns::version[0];
Run Code Online (Sandbox Code Playgroud)