Yes, but if it is not installed on the system, you will encounter an ActivityNotFoundException. If it is not available, you must run it through a regular browser:
String url = "http://mysuperwebsite"; try { Intent i = new Intent("android.intent.action.MAIN"); i.setComponent(ComponentName.unflattenFromString("com.android.chrome/com.android.chrome.Main")); i.addCategory("android.intent.category.LAUNCHER"); i.setData(Uri.parse(url)); startActivity(i); } catch(ActivityNotFoundException e) { // Chrome is not installed Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(i); }
source share