@Override public void onBackPressed() { // Notify the VideoEnabledWebChromeClient, and handle it ourselves if it doesn't handle it if (!v.onBackPressed()) { if (webView.canGoBack()) { webView.goBack(); } else { // Close app (presumably) // super.onBackPressed(); } } }