tags:

views:

369

answers:

2

I want to display pdf contents on webview. Here is my code:

WebView webview = new WebView(this); 
setContentView(webview);
webview.getSettings().setJavaScriptEnabled(true); 
webview.loadUrl("http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf");

I am getting a blank screen. I have set internet permission also.

+4  A: 

Android does not have a PDF viewer, and WebView cannot render PDFs.

CommonsWare
+1  A: 

So, if the webview can't able to dispaly pdf/word/xsl url, then how can implement these concepts.

In my application i need to display pdf/word/xsl in webview. how can i do that? Any other possible solutions are there to achive this?

Thanks mindus

mindus
mindus please post comment to this question as a comment and not as an answer.
Janusz