title: How to use method onNewIntent(Intent intent) inside a Fragment?
body: <p>I'm trying to use NFC Hardware from my device. But, the problem is that when I register the Activity to receive the Intent:</p>
  
  <pre><code>PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0);
  </code></pre>
  
  <p>I receive the result in an Activity instead of a Fragment. Is there a way to handle this result inside a Fragment?</p>
  
  <p>Thanks in advance!</p>