简体   繁体   中英

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

I want to avoid the dialog that pops up displaying the different apps available to read a NFC Tag when my app is in foreground. Is that even possible?

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

Specifically, Using the Foreground Dispatch System section

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM