title: Android webview redirect to https url
body: <p>I have a problem with a webview </p>
  
  <p>This code works perfect : </p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      sContext = getApplicationContext();
  
  
      WebView webView =(WebView) findViewById(R.id.webView);
      webView.getSettings().setJavaScriptEnabled(true);
      webView.addJavascriptInterface(new WebAppInterface(this), "Android");
  
      webView.setWebViewClient(new WebViewClient() {
          @Override
          public void onReceivedSslError (WebView view, SslErrorHandler handler, SslError error) {
          handler.proceed();
          }
  
          ProgressDialog Dialog = new ProgressDialog(this);
          @Override
          public void onPageStarted(WebView view, String url, Bitmap favicon) {
                      super.onPageStarted(view, url, favicon);
                      Dialog.setTitle(R.string.alerttitle_pleasewait);
                          Dialog.setMessage(getResources().getString(R.string.alertmsg_loading));
                      Dialog.setCancelable(false);
                      Dialog.show();
  
          }
          @Override
          public void onPageFinished(WebView view, String url) {                        
                Dialog.dismiss();
  
           }
           });
  
           webView.loadUrl("https://....");
  
  }
  </code></pre>
  
  <p>if ı load http url :</p>
  
  <p>webView.loadUrl("http://....");</p>
  
  <p>it works too.
  I try load a http url that redirects to https page.
  This https page doesnt work.</p>