title: Loading https getting white screen in android webview in version 2.2
body: <p>I need to load a https url in android webview but it gets loaded with white screen.</p>
  
  <p>I have also handled <code>public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error)</code> but still getting white screen on getting loaded with the url but there are no exceptions in the logcat.</p>
  
  <p>below is my code </p>
  
  <pre><code>public class MainActivity extends Activity { 
  private static final String URL = "https://someurl";
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      WebView myWebView = (WebView)findViewById(R.id.webview);
  
      WebSettings settings = myWebView.getSettings();
  
      settings.setJavaScriptEnabled(true);
  
      settings.setDomStorageEnabled(true);
  
      myWebView.loadUrl(URL);
  
  
  
      myWebView.setWebViewClient(new MyWebViewClient());
  
  
  }
  
  
  private class MyWebViewClient extends WebViewClient {
      @Override
      public boolean shouldOverrideUrlLoading(WebView view, String url) {
          if (Uri.parse(url).getHost().equals(URL)) {
  
              return false;
          }
          Activity that handles URLs
          Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
          startActivity(intent);
          return true;
      }
  
      @Override
      public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
          super.onReceivedSslError(view, handler, error);
  
  
          handler.proceed();
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Looking forward to your reply.</p>
  
  <p>thanks</p>