WebView cannot render doc/pdf. You should be launching intents when
someone hits those links. Moreover, the applications installed on the
devices might not be able to (in some cases) download and render these
files. In such scenarios, you would need to download the files
yourself and then launch the respective intents.


On Jul 10, 7:52 pm, Ahmed Shoeib <[email protected]>
wrote:
> hi ,
>
> now i have a web view
>
> wv.setWebViewClient(new WebViewClient() {
>                                   @Override
>                                   public boolean 
> shouldOverrideUrlLoading(WebView view, String
> url)
>                                   {
>                                     view.loadUrl(url);
>                                     return true;
>                                   }
>                                 });
>
>                                 wv.loadUrl("file:///android_asset/t2.html");
>
> t2.html may contain doc/pdf links
>
> i want to open this links in webview
> or i need another solution to open it
>
> please help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to