3 3fazeac Member Licensed User Longtime User May 22, 2023 #1 Is it possible to programatically control the NFC feature of a phone? Can I write an app that enables and disables it? (without having to go into the settings every time?) Background: NFC is used for card payments (like in google wallet). Turns out the wallet app is immediately active as soon at the phone is unlocked and you *cannot* set an additional pin/security feature prior to payment. In addition, the wallet app is active even when the phone is locked (up to a fairly high monitory amount) - a feature which is absurd. The only way to stop this is to turn NFC off - then *at least* you have to unlock the phone to turn the NFC back on again.
Is it possible to programatically control the NFC feature of a phone? Can I write an app that enables and disables it? (without having to go into the settings every time?) Background: NFC is used for card payments (like in google wallet). Turns out the wallet app is immediately active as soon at the phone is unlocked and you *cannot* set an additional pin/security feature prior to payment. In addition, the wallet app is active even when the phone is locked (up to a fairly high monitory amount) - a feature which is absurd. The only way to stop this is to turn NFC off - then *at least* you have to unlock the phone to turn the NFC back on again.
Erel B4X founder Staff member Licensed User Longtime User May 23, 2023 #2 No. It was possible in old versions of Android. Best you can do is to start the settings app with an intent. Upvote 0
No. It was possible in old versions of Android. Best you can do is to start the settings app with an intent.