Display intent extras in logcat
<p>I'm trying to comprehend the intent that sends by the gmail-widget to open messages in the original Gmail-App. If I click on an E-Mail in the widget, I'll get the following Logcat output:</p>

<pre><code>09-29 14:42:51.312: I/ActivityManager(1550): START u0 
{act=android.intent.action.VIEW
 dat=content://com.google.android.gm.email.provider/uimessage/87?threadOp=true&amp;appVersion=58454703&amp;folderUri=content://com.google.android.gm.email.provider/uifolder/1 typ=application/gm-email-ls flg=0x1000c000 pkg=com.google.android.gm cmp=com.google.android.gm/.ui.MailActivityGmail (has extras)} from uid 10066 on display 0
</code></pre>

<p>But I didn't get how to display the extras which got send. If I try to imitate the action I only see the gmail inbox. I'm using this code:</p>

<pre><code>Intent defineIntent =new Intent(Intent.ACTION_VIEW, Uri.parse("content://com.google.android.gm.email.provider/uimessage/86?threadOp=true&amp;appVersion=58454703&amp;folderUri=content://com.google.android.gm.email.provider/uifolder/1"));
Bundle extra = new Bundle();
extra.putString("exchange_username", "XXX");
extra.putString("email_address", "XXXX");
defineIntent.setType("application/gm-email-ls");
defineIntent.setPackage("com.google.android.gm");
defineIntent.setClassName("com.google.android.gm", "com.google.android.gm.ui.MailActivityGmail");


defineIntent.putExtras(extra);

defineIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(defineIntent);
</code></pre>

<p>After the inbox is shown the gmail app throws an error in logcat:</p>

<blockquote>
  <p>09-29 14:46:01.457: W/Gmail(13334): email_address in bundle is empty</p>
</blockquote>

<p>But I've set the email_adress string in my extra-bundle.</p>