title: jQuery Mobile + Phonegap on Android - no Ajax
body: <p>EDIT: Solution for JQuery Mobile + Phonegap AJAX Problems:</p>
  
  <p><code>subdomains="true"</code> property in config.xml is <strong>not working in phonegap 2.9.0</strong>, every request to a subdomain will return 200 but $.ajax won't fire the success function (and $.getJSON won't fire anyways).
  Also: Syntax <code>*.domain.tld</code> as stated in the official doc is <strong>not</strong> working, only way I found to solve that problem: Setting access origin and acces uri to <code>"*"</code> (all)</p>
  
  <pre><code>&lt;access origin="*"/&gt;
  &lt;access uri="*"/&gt;
  </code></pre>
  
  <hr>
  
  <p>I'm working on a mobile application using the jQuery Mobile Framework and Phonegap.
  I've just added an AJAX request to my application which is used to get data from my webserver.
  The page is correctly loading but Android (4.1.2) never fires the AJAX event or never gets a request from the Webserver, in fact it's just hanging on the loading spinner.</p>
  
  <p>Strange thing about this is, that I already use an AJAX request to the same server (but with different domain) that works perfectly fine:</p>
  
  <pre><code>$.getJSON("[...]checkupdate.php?callback=?", function(data){    
     [...]    
  })
  </code></pre>
  
  <p>I've tried to do the second request with $.getJSON too and it worked on my computer but failed on Android. I started looking around for a solution and found out, that setting the cache to false in $.ajax might help so I rewrote my code but it's still not working.</p>
  
  <pre><code>$.ajax({
  cache : false,
  type: 'GET',
  url: requestURL,
  dataType: 'jsonp',
  context: document.body,
  success: function(data){
      [...]
  }});
  </code></pre>
  
  <p>Is there anything else to do to get this to work?</p>