title: How do you check the internet connection in android?
body: <p>I want to check the internet connectivity in each activity. If it is lost a message should be displayed.</p>
  
  <p>Can any one guide me how to achieve this?</p>