Ok, adding it. On 6/12/14 11:13 AM, "OmPrakash Muppirala" <[email protected]> wrote:
>On Thu, Jun 12, 2014 at 10:54 AM, Alex Harui <[email protected]> wrote: > >> I saw that, but it sounded like it does an HTTP fetch to see if it works >> or not. Wouldn't that slow down startup even more for folks overseas? >>I >> don't see any "quick check" by checking some OS status. >> > >NetworkInfo.networkinfo.findInterfaces() gives you a vector of >NetworkInterface objects. NetworkInterface.active may probably work in >this case. > > >> >> -Alex >> >> On 6/12/14 10:22 AM, "OmPrakash Muppirala" <[email protected]> wrote: >> >> >On Thu, Jun 12, 2014 at 10:17 AM, Justin Mclean >><[email protected] >> > >> >wrote: >> > >> >> Isn't there an AIR API to check if you have a connection or not? >> >> >> > >> >Yes, with a combination of Event.NETWORK_CHANGE and URLMonitor. >> > >> > >> >>http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d >>1 >> >18666ade46-7fcc.html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cbf >> >>
