title: Webview link opens in external browser
body: <p>I am a beginner in making android applications. I followed <a href="http://techvalleyprojects.blogspot.no/2011/08/android-use-websites-in-your-app.html" rel="noreferrer">THIS</a> tutorial on how to make a webview and I ran the app on my Galaxy Note 2 without any errors, but the link written in the code wants to open in a external browser when the app is opened. I want the page to be visible inside the web view in the application. How do i proceed to do this?</p>
  
  <p><strong>MainActivity.java</strong></p>
  
  <pre><code>    WebView browser;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      // find the WebView by name in the main.xml of step 2
      browser=(WebView)findViewById(R.id.wvwMain);
  
      // Enable javascript
      browser.getSettings().setJavaScriptEnabled(true);
  
      // load a webpage
      browser.loadUrl("http://www.google.com/");
  
  }
  </code></pre>