How to Set Permission for I/O Operations over NFC

public static final String NFC was added in API level 9
Allows applications to perform I/O operations over NFC

1. In the AndroidManifest.xml file, and add the following line Add the line between the <uses-sdk../> and the <application> tags.

<uses-permission android:name = "android.permission.NFC" />

2. Compile and run!