title: What's the difference between enableReaderMode and enableForegroundDispatch?
body: <p>I found two approaches to let an Android app detect and process NFC tags:</p>
  
  <ol>
  <li><p><code>NfcAdapter.enableReaderMode(activity, callback, flags, extras)</code> and then receive the tag info in the callback.</p></li>
  <li><p><code>NfcAdapter.enableForegroundDispatch(activity, intent, filters, techLists)</code> and then receive the tag info in the <code>onNewIntent(intent)</code> activity method.</p></li>
  </ol>
  
  <p>I currently use the second approach, however, I recently discovered the <code>enableReaderMode</code> approach and wonder if it's better to use that to process NFC tags.</p>
  
  <p>So what is the difference between <code>enableReaderMode</code> and <code>enableForegroundDispatch</code>?</p>