Open browser with Intent

Android has a feature to open web browser using Intent.

Uri uri = Uri.parse("http://www.google.com");
Intent i = new Intent(Intent.ACTION_VIEW,uri);
startActivity(i);