public void startChrome(Uri uri) {
   Intent it = new Intent(Intent.ACTION_VIEW);
   it.setData(uri);
   it.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
   it.setClassName("com.android.chrome", "com.google.android.apps.chrome.Main");
   try {
     startActivity(it);
   } catch (ActivityNotFoundException ex) {
     Intent intent =
         new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?id=com.android.chrome"));
     startActivity(intent);
   }
 }