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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:00:34+00:00 2026-05-26T05:00:34+00:00

I am not sure this problem belongs here…. but still …. My application exchange’s

  • 0

I am not sure this problem belongs here…. but still ….

My application exchange’s data with server every 3 minutes. I am using honeycomb tablet on cell phone coverage(not Wi-Fi). If a person is using it where there is no cell phone covearge he is not going to get new data. How do I deal with this situation? What do I do in the application?

  • 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-26T05:00:35+00:00Added an answer on May 26, 2026 at 5:00 am

    Here this will allow you to test for WIFI and 3g/4g coverage:

    private boolean hasNetworkConnection() {
    
      boolean haveConnectedWifi = false;
      boolean haveConnectedMobile = false;
    
      ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
      NetworkInfo[] netInfo = cm.getAllNetworkInfo();
    
      for (NetworkInfo ni : netInfo) {
        if (ni.getTypeName().equalsIgnoreCase("WIFI"))
          if (ni.isConnected())
            haveConnectedWifi = true;
        if (ni.getTypeName().equalsIgnoreCase("MOBILE"))
          if (ni.isConnected())
            haveConnectedMobile = true;
      }
    
      return haveConnectedWifi || haveConnectedMobile;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure if this a settings problem or an HTML problem, but on
I'm sure this is a fairly trivial problem, but I'm not sure what to
I am not sure what the problem is but I keep receiving this error
Not sure if this really belongs here, so please move it if it doesn't.
This question could be subjective. I'm not sure if it belongs here or on
we're having this toshiba barcode printer. I'm not sure whether this problem is hardware
Uhm I'm not sure if anyone has encountered this problem a brief description is
I'm not sure how to describe this problem, so I think an example is
Not sure this is a programming question, but we use LaTeX for all our
Not sure this is possible, but looking to write a script that would return

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.