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 6762927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:24:59+00:00 2026-05-26T14:24:59+00:00

I want to check if a particular device has hardware support for 4G networks

  • 0

I want to check if a particular device has hardware support for 4G networks.

I will elaborate the issue…
In the application we have a settings page where user can make selection and allow application to run only in selected networks.
Eg. User can select that app will run only in WiFi network or only in 3G network etc.

There are CheckBox preferences for all networks WiFi, 2G, 3G 4G etc.
Now if the device doesn’t have the support for 4G network, I want to hide the 4G selection checkbox.
All the remaining functionality is complete. I am struck on just this issue that how to detect if device support 4G or not?
Please note that I want to detect hardware support for 4G on the device and NOT the 4G connection is connected or so.
Any help is greatly appreciated.

  • 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-05-26T14:25:00+00:00Added an answer on May 26, 2026 at 2:25 pm
    ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
       NetworkInfo[] info = cm.getAllNetworkInfo();
       for(int i=0; i <info.length; i++){
           Log.i("netinfo"+i, info[i].getType()+"");
           Log.i("netinfo"+i, info[i].getTypeName());
           Log.i("netinfo"+i, info[i].getSubtype()+"");
           Log.i("netinfo"+i, info[i].getSubtypeName());
       }
    

    Use this piece of code and get all available options on the device. I think you should be able to get all capabilities of the device.

    and network type info is present in http://developer.android.com/reference/android/telephony/TelephonyManager.html.

    I think network types added from API level 11 are for 4g. Check it yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have integrate Foursquare API for iPhone application.I want to check this particular user
I want to check if a particular page gets redirected or not. However, whenever
I want to check if my site's visitors have visited another particular site before
I want to check whether a particular row in tree widget have parent and
I want to check if a particular device is having base sdk 5.0 or
I want to check whether web server has http compression enabled, and a particular
I want to check a particular file exist in Azure Blob Storage. Is it
I want to check a particular website from various locations. For example, I see
I want to check if a particular char I get from the text field
I want to check if a particular class is applied to a span inside

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.