简体   繁体   中英

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. 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)

Any way to remove it or what do I need to change?

Logcat

Apparently the flash plugin given by the constructor was the problem. I uninstall it and installe the official apk flash 11 ics. And since i have no more error

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM