I am trying to open a PDF URL.
After researching I found a solution to open PDF file using google docs.
However, sames syntax does not work for Android and IOS
This Works in IOS but not in Android:
urlpath = "https://docs.google.com/viewer?url=ht...";
window.plugins.childBrowser.showWebPage(urlpath, { showLocationBar: true,showAddress :true});
This works in Android but not in IOS
urlpath = "https://docs.google.com/viewer?url=ht...";
window.open(urlpath,'_system');
Is there any syntax to open a PDF Googledocs URL which works in IOS and Android?
Or is there any easy method to identify if my device is Javascript or Android.
Or is there any other method to open PDF URL files like using installed acrobat app?
Thanks,