There has been a change in WebView behavior for apps targeting API Level 17+. In short, add @JavascriptInterface to any method you plan on exposing via addJavascriptInterface() in a WebView, to ensure long-term compatibility for your project.
Shared publiclyView activity