[英]Webview flash unknow error
I have a problem. 我有个问题。 I load a swf in a web view.
我在网络视图中加载了瑞士法郎。 My code look like this:
我的代码如下所示:
swf = new File(Config.FOLDER_DATA + msg.contenu_message);
uri = Uri.fromFile(swf);
web.getSettings().setPluginState(PluginState.ON);
web.getSettings().setJavaScriptEnabled(true);
web.getSettings().setAllowFileAccess(true);
web.setWebViewClient(new Web());
web.loadUrl(uri.toString());
Every damn time I have a lot of errors for no reason. 每次该死的时候,我都会无缘无故地犯很多错误。 The flash loads and works but these errors take all my debug page and I can't see real errors who block me.
Flash会加载并运行,但是这些错误占用了我的所有调试页面,并且看不到阻止我的真正错误。 And maybe this is a real error who will block me later.
也许这是一个真正的错误,以后会阻止我。
I can't get past the whole error code (thanks Eclipse logcat for an easy copy paste so I link an image of the log) 我无法克服整个错误代码(感谢Eclipse logcat进行了简单的复制粘贴,因此我链接了日志的图像)
Any way to remove it or what do I need to change? 有什么方法可以删除它,或者我需要更改什么?
Apparently the flash plugin given by the constructor was the problem. 显然,构造函数提供的Flash插件是问题所在。 I uninstall it and installe the official apk flash 11 ics.
我将其卸载并安装官方的apk flash 11 ics。 And since i have no more error
而且因为我没有更多的错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.