Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7802207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:11:35+00:00 2026-06-02T01:11:35+00:00

I need to determine which connection type a device is using. Distinguishing between WIFI

  • 0

I need to determine which connection type a device is using.
Distinguishing between WIFI and 3G doesn’t seem to be a problem on iOS (using the NetworkInfo ANE) and Android (using the native NetworkInfo class) but I’ve got no clue how to further distinguish between a fast (3G, 4G) and slow (EDGE) connection.
Is there a way to do this with Adobe Air?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:11:36+00:00Added an answer on June 2, 2026 at 1:11 am

    Try this for detecting Mobile vs. Wifi on iOS. This requires the Adobe native extension “NetworkInfo”

    import com.adobe.nativeExtensions.Networkinfo.InterfaceAddress;
    import com.adobe.nativeExtensions.Networkinfo.NetworkInfo;
    import com.adobe.nativeExtensions.Networkinfo.NetworkInterface;
    
    var vNetworkInterfaces:Object; 
    if (flash.net.NetworkInfo.isSupported) 
    { 
      vNetworkInterfaces = getDefinitionByName('flash.net.NetworkInfo')['networkInfo']['findInterfaces'](); 
      mytrace("fall 1" );
    } 
    else 
    { 
      vNetworkInterfaces = getDefinitionByName('com.adobe.nativeExtensions.Networkinfo.NetworkInfo')['networkInfo']['findInterfaces']();
      mytrace("fall 2" );
    } 
    
    var hasWifi: Boolean = false;
    var hasMobile: Boolean = false;
    
    for each (var networkInterface:Object in vNetworkInterfaces) 
    { 
        if ( networkInterface.active && (networkInterface.name == "en0" || networkInterface.name == "en1") ) hasWifi = true;
        if ( networkInterface.active && (networkInterface.name == "pdp_ip0" || networkInterface.name == "pdp_ip1" || networkInterface.name == "pdp_ip2") ) hasMobile = true;
    
        mytrace( "active: " + networkInterface.active );
        mytrace( "displayName: " + networkInterface.displayName );
        mytrace( "name: " + networkInterface.name );
        mytrace( "hwAddress: " + networkInterface.hardwareAddress );
        mytrace( "--------------------" ); 
    } 
    
    mytrace( "has Mobile Internet: " + hasMobile );
    mytrace( "has Wifi Internet: " + hasWifi );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to determine which version of browser the user is using, however compatibility
I have a large list of email addresses, and I need to determine which
I am writing a vim plugin in which i need to determine all those
I need to determine file type (i.e., MimeType) of stored data in the SQL
I need to determine if a given selection is in between a start line
I need to poll a server, which is running some propriatary software, to determine
My winform application is launched by another application (the parent), I need determine the
I need to determine in 80% if a file is binary or text, is
I need to determine whether or not two sets contains exactly the same elements.
I need to determine the clients .NET framework version in my web application. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.