Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Enable Flash Plugin in Webview?

How to Enable Flash Plugin in Webview Browser?

like image 587
Pavanadroid Avatar asked May 31 '10 13:05

Pavanadroid


People also ask

Do cookies work in WebView?

Bookmark this question. Show activity on this post. I have an application on appspot that works fine through regular browser, however when used through Android WebView, it cannot set and read cookies.

Is Android WebView deprecated?

This interface was deprecated in API level 12. This interface is now obsolete.

How do I open a WebView file?

WebView browser = (WebView) findViewById(R. id. webview); browser. loadUrl("http://samanretail.website/shv"); browser.


1 Answers

You just need to enable the plugins for the webview, like this :

WebView mWebView = (WebView) findViewById(R.id.WebView01);
mWebView.getSettings().setPluginsEnabled(true);

I think you also need Flash to be installed, like in Android 2.2 and above. Hope this helps.

This method is now deprecated, I'll try to explain this more in detail. See here

like image 107
MrBuBBLs Avatar answered Nov 06 '22 15:11

MrBuBBLs