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

  • Home
  • SEARCH
  • 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 7553981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:12:43+00:00 2026-05-30T11:12:43+00:00

Suppose I have a application which fetch data from network and then showing those

  • 0

Suppose I have a application which fetch data from network and then showing those data in application. But sometimes internet becomes disconnected so I am showing message that ‘Internet not available’. But I want to keep user busy with the application. So I want to do following things but there are some problem in implementation.

1) When network disconnected I want to show message ‘network disconnect’ and I want to store all data in db.
Problem: How will I know network is not available without happening any event?

2) And when network is connected I want to fetch data and store in buffer.
Problem : Same, how will I know network is available rightnow?

  • 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-30T11:12:45+00:00Added an answer on May 30, 2026 at 11:12 am

    This is quite common question and is best solved using Reachability class.

    You can find a nice manual here: Testing Network Reachability

    And a quick answer is the accepted answer here:

    iPhone reachability checking

    But be aware that it’s best to check for host availabiility. I tested this code when device was connected to AdHoc WiFi (with no internet connectivity) and the result was: internet available via WiFi. So if you want to be sure – use host status.

    EDIT: and this is probably the best example on SO (answer from iWasRobbed):

    How to check for an active Internet connection on iOS or OSX?

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

Sidebar

Related Questions

I have an application which retrieves a lot of numerical data from a server
Suppose I have a CMS application written in Node.js which persists data on a
I have an application in which I change the data on web and then
Suppose I have logged into an application which is running from IIS . Now
Suppose that you have a big Data Entry Web Application Like Microsoft CRM ,
I would like to have an application which either loads or saves data through
Suppose I have an application that access data resident in a central DB server
I have a a django application which is being served from apache/mod_wsgi under www.mysite.com/mysite
I have a networking Linux application which receives RTP streams from multiple destinations, does
Suppose you were writing a network-based WinForms application which is supposed to run in

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.