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

[3294 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!

        




Getting any Errors while coding? Ask us on our new Forum:




Liked Article? Please Buy Author a Coffee


Comments



Search
For Sponsored Advertisement OR Freelance Programming Article Submission, Contact us at [email protected]
Recommended Deal Ends in











Quizzes:
Online Games
Play 2048 Game Online and Relax.
Play 2048 Game Online

Why does everyone hate Java?
How much JavaScript to learn for Web Development
How to Convert EPOCH to Date in Java
Search Tags