2
votes

I'm looking into some NFC functionality,

I would like to embed two ndef messages inside my tag.

  1. An Android Application Record
  2. Plain text data

I would like to create the following scenario:

  1. Tap a tag
  2. Start my application based on the Android Application Record embedded inside the tag
  3. In my activity retrieve more information from the tag (from NFC, or the intent system, etc.?)

I was wondering if it is possible?

1
are you able to write on your own NFC Tag?Rafael T
@RafaelT yes, why wouldn`t it be possible?Tobrun
Because most of the NFC Tags are 'read-only'. it should be definitly possible. Just create your NdefMessages and write them on your Card.Rafael T
Put the AAR as the last record in the NDEF message. That way non-Android devices and pre-ICS Android devices will still be able to discover the text record.NFC guy
I know this is quite old, but did you manage to do it in the end? I am looking for the exact same scenario, but cannot figure it out at the moment, and the links of ThomasRS did not seem helpful in this case.Radu

1 Answers

3
votes

I have created an NFC Eclipse plugin exactly for this scenario. You will also find an Android boilerplate project in the downloads section for the same project.

You might want to check out NDEF Tools for Android, and do a search on the app store for read and write apps.