Go back to previous screen on SslErrorHandler
Go back to previous screen on SslErrorHandler So in my webview, I am showing an error dialog box for SSL security issues which Google had made compulsory. The code looks like below: @Override public void onReceivedSslError(WebView view, final SslErrorHandler handler, SslError error) { final AlertDialog.Builder builder = new AlertDialog.Builder(LaunchWVActivity.this); builder.setMessage("SSL cert is invalid.Install a valid certificate or click continue to proceed."); builder.setPositiveButton("continue", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { handler.proceed(); } }); builder.setNegativeButton("cancel", new DialogInterface.OnClickListener() ...
