J.L
J.L

Reputation: 1

Can I use an NFC tag to do more than just launch my app?

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

Answers (2)

ThomasRS
ThomasRS

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

Ben Weiss
Ben Weiss

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

Related Questions