title: jQuery's ajax function does not work in Android PhoneGap application
body: <p>I want to access open API through ajax in mobile application, its work fine in iphone but does not working in Android phonegap application:</p>
  
  <p><code>returning error-&gt;"error message-null,typeerror-Result of expression 'data'[null] is not an object and error status-parsererror"</code></p>
  
  <p>Is there any browser setting need to follow.</p>
  
  <p>I want to call the web service in android-phonegap application:</p>
  
  <pre><code>$.ajax({  
     url:'stringURL',  
     beforeSend: function(x) {      
       x.setRequestHeader('Authorization','username/pwd');  
     },  
     dataType:"xml",  
     contentType:'application/xml',  
     timeout:10000,  
     type:'POST',  
     success:function(data) {  
       alert(data);  
     },  
     error:function(XMLHttpRequest,textStatus, errorThrown) {     
       alert("Error status :"+textStatus);  
       alert("Error type :"+errorThrown);  
       alert("Error message :"+XMLHttpRequest.responseXML);  
     }
  });
  </code></pre>