How to give Android Permission for I/O Operations over NFC

[2792 views]




Whenever you want to perform some I/O operations over NFC(Near Field Communications) i.e. write data to an NFC card or read data from an NFC Card using an Android application, you need to first set the permissions for it in the AndroidManifest.xml file

Solution

In AndroidManifest.xml file, insert the below line between the and the tags.

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

That's It. You have added NFC permission to your Android Project. Now Just Compile and run!

                 






Comments










Search Anything:

Sponsored Deals ends in






Search Tags