I think the only one of those you can definitely load in a WebView is an
image.
That would be done like so:
* @Override*
* protected void onCreate(Bundle savedInstanceState) {*
* super.onCreate(savedInstanceState);*
* WebView wv = new WebView(this);*
* setContentView(wv);*
* wv.loadUrl("https://www.google.com/images/srpr/logo4w.png");*
* }*
Also, be sure you have this permission:
*android.permission.INTERNET*
Thanks.
On Friday, May 10, 2013 4:15:01 AM UTC-5, rahul kaushik wrote:
>
> Hi,
>
> How to download file(image or pdf or docs..) in webview from url
> Thanks
> RK
>
--
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.