title: PhoneGap Android app not displaying pdf data
body: <p>I have a PhoneGap app for Android which I am trying to run in the Android emulator. The app has a simple html page which has a button. On click, the button calls a RESTful webservice using javascript XMLHttpRequest and the service returns back base 64 encoded data for a pdf. Then from the javascript function, I try to load the pdf data in my html page in the app as below</p>
  
  <pre><code>document.location.href = 'data:application/pdf;base64,' + pdfData.childNodes[0].data;
  </code></pre>
  
  <p>But this does nothing. The data is returned correctly and I checked the logs for it. But the pdf is not displayed at all. Any idea what is causing the issue?</p>