protected void startNfcSettingsActivity(){
  if (android.os.Build.VERSION.SDK_INT >= 16) {
    startActivity(new Intent(ACTION_NFC_SETTINGS));
  }
 else {
    startActivity(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS));
  }
}

protected void startNfcSettingsActivity ( ) { if ( android . os . Build . VERSION . SDK_INT >= 16 ) { startActivity ( new Intent ( ACTION_NFC_SETTINGS ) ) ; } else { startActivity ( new Intent ( android . provider . Settings . ACTION_WIRELESS_SETTINGS ) ) ; } }
launch an activity for nfc ( or wireless ) settings , so that the user might enable or disable nfc
