I am trying to determine how an Android app can stop the phone from broadcasting NFC signals at any particular time.
I know that this is possible because I am using an app where when a particular modal screen is opened NFC no longer functions. I know this is happening because if I hold up the phone to my NFC reader when the modal is open, nothing is recognised. As soon as I close the modal, the NFC reader instantly picks up the device.
I am unsure how to integrate this into my app. I have read other answers including this one which seem to state it's not possible, which can't be true because I'm seeing it happen before my eyes.
Is NfcAdapter.enableReaderMode what I am looking for? I am trying to determine if this will work but as I'm unsure how to implement it I can't test it.