如何在 Webview 中启用 Flash 插件? [英] How to Enable Flash Plugin in Webview?

查看:33
本文介绍了如何在 Webview 中启用 Flash 插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Webview 浏览器中启用 Flash 插件?

How to Enable Flash Plugin in Webview Browser?

推荐答案

你只需要为 webview 启用插件,就像这样:

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

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

我认为您还需要安装 Flash,就像在 Android 2.2 及更高版本中一样.希望这会有所帮助.

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

此方法现已弃用,我将尝试更详细地解释这一点.请参阅此处

这篇关于如何在 Webview 中启用 Flash 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆