Hello,
Welcome to our Microsoft Q&A platform!
The NFC is the setting of the device, we cannot disable or enable the function in one application. Instead, you could check if the nfc is enabled, then remind the user to navigate to the setting page if not.
NfcAdapter nfcAdapter = NfcAdapter.DefaultAdapter;
if (nfcAdapter == null)
{
// NFC is not available for device
}
else if (!nfcAdapter.IsEnabled())
{
// NFC is available for device but not enabled
StartActivity(new Intent("android.settings.NFC_SETTINGS"));
}
else
{
// NFC is enabled
}
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.