Code example for WebViewClient

Methods: shouldOverrideKeyEvent

0
          String host_and_port) {
    if (mWrappedClient instanceof WebViewClientClassicExt) {
      ((WebViewClientClassicExt) mWrappedClient).onReceivedClientCertRequest(view, handler, host_and_port);
    } else { 
      super.onReceivedClientCertRequest(view, handler, host_and_port);
    } 
  } 
 
  /** {@inheritDoc} */ 
  @Override 
  public void onReceivedHttpAuthRequest(WebView view,
          HttpAuthHandler handler, String host, String realm) {
      mWrappedClient.onReceivedHttpAuthRequest(view, handler, host, realm);
  } 
 
  /** {@inheritDoc} */ 
  @Override 
  public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) {
      return mWrappedClient.shouldOverrideKeyEvent(view, event);
  }