我需要知道/处理何时我的Adobe AIR iOS应用程序失去了wifi或3G连接,所以我想我应该使用NetworkInfo类来做这件事(根据这个页面http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html上的信息)
有人能帮我弄清楚为什么我会出现下面的错误吗?
ArgumentError: Error #3500: The extension context does not have a method with the name getInterfaces.
at flash.external::ExtensionContext/call()
at com.adobe.nativeExtensions.Networkinfo::NetworkInfo/findInterfaces()[ /Users/gangwar/Documents/Adobe Flash Builder 4.5/NetworkInfoActionScriptLibrary/src/com/adobe/nativeExtensions/Net workinfo/NetworkInfo.as:70]
at com.adobe.nativeExtensions.Networkinfo::NetworkInfo/findInterfaces()或者,有没有更好的解决方案来找出设备是否失去了与wifi或3G的连接?
谢谢!
发布于 2013-05-17 00:48:56
对我来说,这个错误的解决方案是隐藏ANE符号:

https://stackoverflow.com/questions/14838704
复制相似问题