title: ADB starting activity with extra string data
body: <p>I am executing the following from ADB:</p>
  
  <pre><code>PS C:\&gt; adb shell am start -a android.intent.action.MAIN -n boha.notify/.MainActivity -e primaryheader "One Two" -e primarytext "Primary text"
  Starting: Intent { act=android.intent.action.MAIN pkg=Two cmp=boha.notify/.MainActivity (has extras) }
  Warning: Activity not started, its current task has been brought to the front
  PS C:\&gt; 
  </code></pre>
  
  <p>My application is setup to properly handle the new intent request without restarting the already running activity. I've overridden <code>onNewIntent()</code> as required. It's shown below:</p>
  
  <pre><code>@Override
  protected void onNewIntent(Intent intent)
  {
      super.onNewIntent(intent);
  
      Log.d( "AGENT", "NEW INTENT Extra data = " + intent.getStringExtra("primaryheader"));
  
      String strPrimaryHeader = intent.getStringExtra("primaryheader");
      String strPrimaryText = intent.getStringExtra("primarytext");
      String strSecondayHeader = intent.getStringExtra("secondaryheader");
      String strSecondaryText = intent.getStringExtra("secondarytext");
  }
  </code></pre>
  
  <p>When I check the <code>logcat</code> I see that the extra data strings I'm passing in aren't being received correctly. Only the first word of each string is correct.</p>
  
  <p>See below:</p>
  
  <p><code>09-13 18:30:36.583 12248-12248/? D/AGENT: NEW INTENT Extra data = One</code></p>
  
  <p>Why is the activity new intent only receiving "One" instead of "One Two"?</p>
  
  <p>Am I not using the correct ADB <code>am</code> command parameters?</p>