Loading javascript functions to webview in Android Kitkat
问题 I am having problems with loading javascript functions, which are in external file, into webview in Android Kitkat. My approach for earlier versions was that i implemented my own webview client and in method onPageFinisned i called mWebView.loadUrl("javascript:" + functions); later, when i wanted to call some js method, i call same code, like mWebView.loadUrl("javascript:" + someFunction); In android kitkat there is new method evaluateJavascript, which replaces my code with calling that