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];
关于android - 在 iOS 和 Android 上的 AS3 中查找我的 air 应用程序版本,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10198025/