title: Open url with an browser
body: <p>I programmattically open an Url in a browser by:</p>
  
  <pre><code>private final String url = "https://www.google.com";
  
  Uri uri = Uri.parse(url);
  Intent intent = new Intent();
  intent.setData(uri);
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  context.startActivity(intent);
  </code></pre>
  
  <p>Generally, the code works fine, it opens the Http address in a browser. </p>
  
  <p>But there is always a system pop up dialog ask user to select an app to complete the action first:</p>
  
  <p><img src="https://i.stack.imgur.com/95PL4.png" alt="enter image description here"></p>
  
  <p>User has to select <strong>Chrome</strong> from the pop up, after then, the page opens. I don't understand why the google+ app is among the options.</p>
  
  <p>How could I avoid this system dialog for app selection ? I mean how can I set a default browser (Chrome) &amp; my code could just open the url without this system dialog ?</p>