title: Display alert message when there's no internet connectivity
body: <p>So I've built an android app using phonegap build. It is a simple app that displays a mobile optimized page within the web view.</p>
  
  <p>This is the code that does the redirect from index.html</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          window.location = 'http://app.website.com/';
  &lt;/script&gt;
  </code></pre>
  
  <p>All I need to do is to display a message within a popup when there's no internet connectivity. Does phonegap provide any such functionality ?</p>