title: Where/How to getIntent().getExtras() in an Android Fragment?
body: <p>With Activities,  I used to do this:</p>
  
  <p>In Activity 1:</p>
  
  <pre><code>Intent i = new Intent(getApplicationContext(), MyFragmentActivity.class);
                  i.putExtra("name", items.get(arg2));
                  i.putExtra("category", Category);
                  startActivity(i);
  </code></pre>
  
  <p>In Activity 2:</p>
  
  <pre><code>Item = getIntent().getExtras().getString("name");
  </code></pre>
  
  <p>How do you do this using Fragments?  I am using the compatibility library v4 also.</p>
  
  <p>Does it go in the FragmentActivity?  Or the actual Fragment?
  And Which Method does it go in?  onCreate? onCreateView? another?</p>
  
  <p>And can I see example code please?</p>
  
  <p>EDIT:  It is worth noting I am trying to keep Activity 1 as an Activity (or actually ListActivity where I am passing the intent of the listitem when clicked) and then pass to a set of tabbed-fragments (through a Fragment Activity) and I need either tab to be able to get the extras. (I hope this is possible?)</p>