Hello,
I would like to make an app with a service that can "detect" NFC tags. So the question is if it is possible to detect an NFC tag from a service while the screen is off and the app is not running. I know there is the possibility of the intent filter and get a broadcast. But a basic test of this https://www.b4x.com/android/forum/threads/reading-ndef-data-from-nfc-tags.14931/ I did did not work.
I use these cards: RFID-Card für Modul RC522, 13,56 MHz (https://www.reichelt.de/entwicklerb...bo-rfid-card-p201860.html?&trstct=pol_4&nbc=1). The cards work with the NFC Tools app.
I just would like to know if this is basically possible or if the app has to be running all the time with screen on.
Thanks
I would like to make an app with a service that can "detect" NFC tags. So the question is if it is possible to detect an NFC tag from a service while the screen is off and the app is not running. I know there is the possibility of the intent filter and get a broadcast. But a basic test of this https://www.b4x.com/android/forum/threads/reading-ndef-data-from-nfc-tags.14931/ I did did not work.
I use these cards: RFID-Card für Modul RC522, 13,56 MHz (https://www.reichelt.de/entwicklerb...bo-rfid-card-p201860.html?&trstct=pol_4&nbc=1). The cards work with the NFC Tools app.
I just would like to know if this is basically possible or if the app has to be running all the time with screen on.
Thanks