title: Open Google Plus Page Via Intent In Android
body: <p>I have a <code>Google Plus</code> page </p>
  
  <p><a href="https://plus.google.com/u/0/b/101839105638971401281/101839105638971401281/posts" rel="nofollow noreferrer">https://plus.google.com/u/0/b/101839105638971401281/101839105638971401281/posts</a> </p>
  
  <p>and an Android application. <strong>I want to open this page in my app. I don't want to open the browser!</strong> </p>
  
  <p>This opens the browser:</p>
  
  <pre><code>URL="https://plus.google.com/b/101839105638971401281/101839105638971401281/posts";
  uri = Uri.parse(URL);
  it = new Intent(Intent.ACTION_VIEW, uri);
  startActivity(it);
  </code></pre>
  
  <p>this crashes:</p>
  
  <pre><code> Intent intent = new Intent(Intent.ACTION_VIEW);
  
  intent.setClassName("com.google.android.apps.plus",             "com.google.android.apps.plus.phone.UrlGatewayActivity");
  
  intent.putExtra("customAppUri", "10183910563897140128");
  startActivity(intent);
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p><strong>[SOLVED]</strong></p>
  
  <pre><code>startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://plus.google.com/101839105638971401281/posts")));
  </code></pre>
  
  <p>With this solution the user can choose the Google Plus APP or open the browser. If the APP is chosen, there is no crash.</p>