There is an Android device with NFC. An application is installed on the device that works with a label, for example, a bank client

Is it possible to somehow find a third-party application or system about trying to access the label? Is there some kind of use alarm?

1 answer 1

When accessing the NFC tag, the android runs the Intent Filter on ACTION_NDEF_DISCOVERED , ACTION_TECH_DISCOVERED and ACTION_TAG_DISCOVERED . They are sent across the entire OS and every program or service that can process them will catch and process them (in the background).

Based on this, you can create your own application or service, which will catch the data of Intent and show that it was intercepted. Therefore, if your application caught this Intent, then the other applications on this phone that work with NFC also intercepted it.

Only for the implementation will have to sweat: you will need to deal with the Intent Filter , with the background work of the application or service. And for starters, you can read this ( https://developer.android.com/guide/topics/connectivity/nfc/nfc.html )