title: How to check the Internet connectivity as soon as the application is started?
body: <p>I want to check whether the internet connectivity is available or not when the application is started, and it should display a message in both the cases-
  1.if internet connection is there it should ask user 'would you like to proceed further or not'
  2.and when it is not connected then it should say 'internet connection is not available'</p>