I have an NFC tag. I want to write an Android application that is automatically launched and gets data from NFC when the NFC tag is scanned with the phone.
This shou
Add following intent-filter to your main activity tag in the AndroidManifest.xml file.
intent-filter
activity
AndroidManifest.xml
... ...
Now, when you tap your NFC tag to your phone, your application will be called and run.