I create android app to read NFC tag ID I have finish that but that last thing what I want is I want to run my app when tag is detected while my app is closed.Example when I close my app and get my phone to touch NFC tag after that the phone will detect it and run my app to read TAG id.
How I can do this ? I try to use Service but it not work.
thank you for Anwser and sorry with my english
Use the concept of intent filter for NFC.
What kind of NFC tags are you targetting?
Below is a sample code which starts your activity when the NFC tag is discovered that has stored data in text format.