Reading a tag from a specific activity
问题 I just finished my android app that have 1 activity, wherein it displays the data on the nfc tag, my problem is that whenever I tap nfc tag, the app opens/launch even if it is not open or running in the background. How can I prevent this from happening? I want my app to react when it is open, thanks 回答1: If you don't want your activity to automatically start upon scanning a tag, simply don't register NFC related intent filters in your app's manifest. But what if... ... you did not register