This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
This is an #[Informational Post]
Firstly Kony/Android Browser don't have the capability of loading the pdf. So for viewing the PDF files in the Browser / WebView one has to go by using the following steps:
var myPdfUrl = "Your PDF url"
var url = "http://docs.google.com/gview?embedded=true&url=" + myPdfUrl;
After giving the above link to the browser widget we will be able to view the PDF in WebView.
For Example, if the PDF url is : "http://www.pdf995.com/samples/pdf.pdf"
then,
var myPdfURL = "http://www.pdf995.com/samples/pdf.pdf";
var url = "http://docs.google.com/gview?embedded=true&url="+myPdfURL;
The above steps will help in resolving the issue of viewing PDF in Kony Browser/Webview in Android.
We're glad it worked. Also please click 'Select as Best' under the response that helped you the most to fix the issue. This way you can close this thread. Thanks!