Reputation: 1
I want the NFC tag data to prompt some code on my app. Is this possible and where can I read more about this?
Upvotes: 0
Views: 149
Reputation: 8287
Yes. NDEF messages (the format mostly used for Android NFC) consists of a list of records, all which can contain different types of payload. So an Android Application Record can launch your application, and (for example) an External Type Record or Mime Record can contain info which is then read by your application and acted upon.
I have created an NFC Eclipse plugin aimed at entry-level developers you might be interested in. It includes an Android boilerplate project.
Upvotes: 1
Reputation: 17922
Yes, you can do lot's of stuff with NFC.
You can start by reading the documentation of the NFC package and the guide on NFC.
Upvotes: 1