Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using flash with android webview

Tags:

android

flash

I want to use flash in webview.

I used following code..

 mWebView = (WebView) findViewById(R.id.webview);
 mWebView.getSettings().setPluginsEnabled(true);
 mWebView.loadUrl("http://domain-path/flash/test.html");

The test.html is containing flash object embedded.

But when I run this it displays nothing.

Please suggest.....

like image 300
Parmendra Singh Avatar asked Mar 31 '11 12:03

Parmendra Singh


1 Answers

try to add

webView.getSettings().setPluginsEnabled(true);
webView.getSettings().setPluginState(PluginState.ON);
like image 181
mouse Avatar answered Oct 20 '22 14:10

mouse