Safe Java-JS Bridge In Android WebView achieve a safe and reliable solution for webview calling java method in js, meanwhile calling js function in java more detail: http://www.pedant.cn/2014/07/04/webview-js-java-interface-research/