title: Android Intent not starting activity
body: <p>I'm having issues getting startActivity(intent) to actually open the next activity. when I press the associated button it's printing the string to the debug console, but the new activity just isn't starting. Am I doing something wrong.</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      Button camBtn = (Button) findViewById(R.id.btnCamera);
      camBtn.setOnClickListener(new View.OnClickListener(){
          @Override
          public void onClick(View view){
              startCameraOption(view);
          }
      });
  
  }
  
  public void startCameraOption(View view){
      Intent intent = new Intent(MainActivity.this, CameraOption.class);
      intent.putExtra("Launcher","Launched.");
      System.out.println("Starting next activity,");
      startActivity(intent);
  }
  }
  </code></pre>
  
  <p>There's my MainActivity.</p>
  
  <p>Here is my manifest.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.google.sample.cloudvision"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="android.permission.CAMERA"/&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity
              android:screenOrientation="portrait"
              android:name="com.google.sample.cloudvision.MainActivity"
              android:label="@string/app_name"
              android:theme="@style/AppTheme.NoActionBar"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".CameraOption"&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".PictureChosenClass"&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>