Android Javascript WebView
问题 I have an app where my min API is 16, and I want to evaluate some javascript on a web view and when I have mWebView.evaluateJavascript("(function()...)"); I get a compile error saying this is only available in API 19 and higher, so how can I evaluate javascript in a web view for the API below 19, I have but above code in a if statement for API 19 and above, but how can I do this in API below 19? Thanks for the help 回答1: Before API 19, you have to use WebView.loadUrl() with the javaScript