在Android上支持FlashAndroid、Flash

2023-09-07 14:38:46 作者:崽崽

我已经看到至少有20-30岗位上SO关于这一点,但仍然没有得到答案。我们可以在Android中的WebView或无法加载swf文件?我有一个嵌入了SWF对象的HTML页面。所有的HTML内容加载不同的swf文件。我还从Android设备(2.3)的Adobe档案安装Flash播放器,但它不能正常工作。

I have seen at least 20-30 posts on SO regarding this but still haven't got the answer. Can we load an swf file in Android webview or not? I have an HTML page with swf object embedded in it. All HTML content loads except the swf file. I have also installed the Flash Player from Adobe archives on Android device(2.3) but it doesn't work.

在this后,这是行不通的。但是,同样的方法正在这个的职位。为什么呢?

In this post, it doesn't work. But the same method is working on this post. Why?

我的目标是运行在包含上述HTML文件的Andr​​oid设备中的煎茶的应用程序,但首先我无法使用本机应用程序加载与SWF内容的HTML文件。

My aim is to run a sencha app on Android device containing the above HTML file, but first I'm unable to load that HTML file with swf content using a native app.

推荐答案

简短的回答:当Flash是支持在Android上,它需要启用插件上的的WebView 支持。但它不是由于Android 4.1(杰利贝恩)支持了。而Android 4.4系统的设备使用一个新的的WebView 的实施是要保证下不支持任何插件。

Short answer: when Flash was supported on Android, it required to enable plugins support on the WebView. But it's not supported anymore since Android 4.1 (Jellybean). And Android 4.4 devices use a new WebView implementation which is garanteed to not support any plugin.

如果你想要这个工作,你有一个较旧的设备上安装Flash与Android 4或更低。

If you want this to work, you have to install Flash on an older device with Android 4 or lower.