app/src/main/java/com/example/androidverifier/Verify.java
/**
     * @return true if NFC is enabled
     *
     */
@return true if NFC is enabled
@return true if NFC is enabled
public static Boolean isNFCEnabled(Context context) {
        NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(context);
        boolean enabled = nfcAdapter.isEnabled();
        return enabled;
    }
public static Boolean isNFCEnabled ( Context context ) { NfcAdapter nfcAdapter = NfcAdapter . getDefaultAdapter ( context ) ; boolean enabled = nfcAdapter . isEnabled ( ) ; return enabled ; }
@return true if NFC is enabled
@return true if NFC is enabled