title: Phonegap (online build) app - no internet connection and network status
body: <p>My first jquery mobile app contains elements which needs datas from Internet sources like public Google calendars and Amazon affiliate widgets but it works only when I testing in my chrome browser or on a Kindle Fire device with the html5 app tester. 
  If I build android release apk with the online Phonegap, the Kindle and other android device like a Lenovo mobile can't reach the Internet connection in the app. I've read the all of topics in this issue and found the it was proposed to use <code>&lt;access origin="*" subdomains="true" /&gt;</code> in the config.xml but it was ineffective.
  I also put code snippets in the app like:</p>
  
  <pre><code>    if (navigator.onLine) {
    $("#ifonline").append("Online");
  } else {
     $("#ifonline").append("offline");
  
  }
  
  var isOffline = 'onLine' in navigator &amp;&amp; !navigator.onLine;
  
  if ( isOffline ) {
      $("#ifonline2").append("Status: offline");
  }
  else {
      $("#ifonline2").append("online");
  }
  </code></pre>
  
  <p>But the result is nothing. My config.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
      &lt;widget xmlns   = "http://www.w3.org/ns/widgets"
          xmlns:gap   = "http://phonegap.com/ns/1.0"
          id          = "com.myapp.myapptodo"
          versionCode = "10" 
          version     = "1.0.0" &gt;
      &lt;name&gt;myapp&lt;/name&gt;
  
      &lt;description&gt;
          myapp is very good but can't find that &amp;@ĐäĐ wifi!
      &lt;/description&gt;
  
      &lt;author href="https://mysite" email="mymail"&gt;
          Ceatos
      &lt;/author&gt;
  
      &lt;gap:plugin name="org.apache.cordova.network-information" /&gt;
  
      &lt;feature name="http://api.phonegap.com/1.0/geolocation"/&gt;
      &lt;feature name="http://api.phonegap.com/1.0/media"/&gt;
      &lt;feature name="http://api.phonegap.com/1.0/network"/&gt;
      &lt;feature name="http://api.phonegap.com/1.0/notification"/&gt;
      &lt;feature name="InAppBrowser"&gt;
      &lt;param name="android-package" value="org.apache.cordova.InAppBrowser"/&gt;
      &lt;/feature&gt;
  
      &lt;feature name="NetworkStatus"&gt;
      &lt;param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager" /&gt;
  &lt;/feature&gt;
  
      &lt;access origin="*" subdomains="true" /&gt;
  </code></pre>
  
  <p>I have a working wifi network and the devices is connected to it. What should I do?</p>