title: WebView clicks opens mobile browser
body: <p>There is a <code>WebView</code> which loads mobile-optimized URL (webpage). But when I click on a link, it does not load inside of the <code>WebView</code> (inside of the app), but mobile browser opens. </p>
  
  <p>How to prevent this?</p>
  
  <p>I tried overloading URLs via <code>shouldOverrideUrlLoading()</code>, but it did not help. </p>
  
  <p>This is a code. </p>
  
  <pre><code>webView = (WebView) findViewById(R.id.webview);
  WebSettings webSettings = webView.getSettings();
  webSettings.setPluginsEnabled(true);
  if (Build.VERSION.SDK_INT &gt; 7) {
      webSettings.setPluginState(WebSettings.PluginState.ON);
  }
  webSettings.setJavaScriptEnabled(true);
  webView.setWebViewClient(new WebViewClient() {
      @Override
      public boolean shouldOverrideUrlLoading(WebView view, String url) {
          if (url.equals(url)) {
              view.loadUrl(url);
              return true;
          }
          return false;
      }
  
  
      @Override
      public void onLoadResource(WebView view, String url) {
      }
  });
  webView.loadUrl("http://some-url.com");
  </code></pre>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>Does <code>GET</code> or <code>POST</code> posting methods have anything with links' clicks open mobile web browser???</p>