title: startActivityForResult and Intents Extras, it seems extras are not pushed back
body: <p>I have this code:</p>
  
  <pre><code>Intent intent = new Intent();
          intent.setAction(Intent.ACTION_PICK);
          intent.setData(ContactsContract.Contacts.CONTENT_URI);
          intent.putExtra(EXTRA_ONLINE_ID, (String) v.getTag());
          startActivityForResult(intent, PICK_CONTACT);
  </code></pre>
  
  <p>Then on response:</p>
  
  <pre><code>public void onActivityResult(int reqCode, int resultCode, Intent data) {
  
  
          switch (reqCode) {
              case (PICK_CONTACT):
                  if (resultCode == Activity.RESULT_OK) {
                      try {
                          Uri contactData = data.getData();
                          String onlineid = data.getStringExtra(EXTRA_ONLINE_ID);
                      } catch (Exception e) {
                          e.printStackTrace();
                      }
                  }
                  break;
          }
          super.onActivityResult(reqCode, resultCode, data);
      }
  </code></pre>
  
  <p>the <code>onlineid</code> variable is null.  How can I pass a value and then to receive it back?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I even tried,  </p>
  
  <pre><code>Bundle extras = data.getExtras(); // returns null
  </code></pre>