Android webview SKIPS javascript even with setJavascriptEnabled(true) and WebChromeClient

前端 未结 4 1126
清歌不尽
清歌不尽 2020-12-18 01:02

(using Samsung Galaxy Tab and Android 3.0, this is intended to work on every 3.0+ tablet, like it does in their browsers, just not webview)

I have a page with CSS an

4条回答
  •  感动是毒
    2020-12-18 01:37

    I'm not entirely sure if this is the cause of your problem but you should be calling loadUrl after you set up the WebView

    Edit

    If this isn't the problem, you might consider posting

    • the simplest SSCCE that you find doesn't work but which you feel should
    • the make/model of your device and the version of Android you're working with

提交回复
热议问题