String voicePath="file://"+MVOICEPATH; webView.loadUrl("javascript:voiceStopCallback('"+voicePath+"')"); 日志错误提示: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread 解决办法 w
1.AndroidManifest.xml中必须使用许可"android.permission.INTERNET",否则会出 Web page not available 错误. 2.如果访问的页面中有JavaSrcipt,则webview必须设置支持JavaScript WebSettings webSetting = webview.getSettings() ;webSetting.setJavaScriptEnabled(true) ; 3.如果页面中连接,如果希望点击连接继续