title: NullPointerException when i tried to get Extras in FragmentActivity
body: <p>i have a problem to pass extras between an Activity and a FragmentActivity.</p>
  
  <p>This next code create the Intent to start the new Activity:</p>
  
  <pre><code>Intent fichaSerie = new Intent(getActivity(),ActividadSerie.class);
  NotificacionSerie serie = (NotificacionSerie) adaptador.getItem(position);
  fichaSerie.putExtra("serie", serie.getID());
  getActivity().startActivity(fichaSerie);
  </code></pre>
  
  <p>When I tried to get the Extras in the Fragment Activity, i get a NullPointerException:</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.serie);
  String extra = getIntent().getExtras().getString("serie") //NullPointerException
  }
  </code></pre>
  
  <p>Anyone know what mistake(s) i'm made in my code?</p>
  
  <p>Thank you very much to all.</p>