0
votes

I need to know/handle when my Adobe AIR iOS app has lost wifi or 3G connection so thought I'd use the NetworkInfo class to do this (as per the info on this page http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html )

Anybody can help me figure out why I'm having the error below?

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()

Or, is there perhaps a better solution out there to figure out whether the device has lost connection to wifi or 3G?

Thanks!

1

1 Answers

0
votes

For me the solution to this error has been to hide the ANE symbols:

enter image description here