Opening a PDF file in Windows Phone
问题 I'm developing an app for Windows Phone 7 and I'm using a Phonegap template for it. Everything looks perfect, but now I’m stuck trying to open a PDF file in the browser. I tried the following but that doesn’t work because the url of the PDF exceeds the 2048 character limit (it’s a data url). This code runs after the deviceReady event was fired. var ref = window.open('http://www.google.com', '_blank', 'location=no'); ref.addEventListener('loadstart', function () { alert(event.url); }); Now, I