title: Efficient approach to continuously check whether internet connection is available in Android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3307237/how-can-i-monitor-the-network-connection-status-in-android">How can I monitor the network connection status in Android?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to continuously check whether the internet is connected or not and update the text area accordingly with appropriate message . Now if i create an <strong>asynctask</strong> it will execute once and stop which is not what I want . I want to check at every moment continuously and obviously this should not be on the main thread .So <strong>Service</strong> wont be a good choice either . Can anyone help me What is the best and efficient approach to handle this . Thanks</p>