当我的应用程序在前台时,如何防止其他应用程序读取 NFC 标签?

How to prevent other apps to read NFC tags when my app is in foreground?

我想避免在我的应用程序处于前台时弹出的对话框显示可用于读取 NFC 标签的不同应用程序。这可能吗?

结帐http://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html

具体来说,Using the Foreground Dispatch System