且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Android WebView中使用弹出窗口

更新时间:2023-01-23 17:59:04

尝试

 webViewObject.getSettings().setJavaScriptCanOpenWindowsAutomatically(true)

如果您要打开窗口...如window.open,则需要此窗口. javascriptenable应该设置为true..希望我理解您的要求正确.

if you want to open window...like window.open thn its required. for the javascriptenable should be set to true.. hope i understand ur quest correct.