Url addresses must be preceded by http://
Uri uri = Uri.parse("www.google.com");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
throws an ActivityNotFoundException. If you prepend “http://”, problem solved.
Uri uri = Uri.parse("http://www.google.com");