Thomas Wang
Thomas Wang

Reputation: 51

How TO write RFID Tag for Nexus S NFC to read?

Does anyone know if there are any specifics on writing info into a RFID tag and reading it from Android, Nexus S?

Is there special RFID tag just for Android, or a special RFID writer?

Upvotes: 5

Views: 18907

Answers (7)

swapnil sharma
swapnil sharma

Reputation: 36

You can create your own NFC tag reader:

Create the Payload and emulate an RFID tag using another android device. Make sure that you are giving NFC_READ ,NFC_WRITE permisions in the manifest files.

Upvotes: 0

Ron
Ron

Reputation: 1731

I use the following to write (and reformat RFID cards to use NDEF messages)

NdefFormatable format = NdefFormatable.Get(tag);
if (format != null) {
    try {
        format.Connect();
        format.Format(message);
        return true;
    }
    catch (IOException e) {
        return false;
    }
}
else {
    return false;
}

This is in Monodroid but I think the concept is the same in Java.

Upvotes: 0

cat
cat

Reputation: 2895

I found 2 tag-writer-apps in the android marketplace: One is from the company NXP, which is selling tags: https://market.android.com/details?id=com.nxp.nfc.tagwriter the other from Connectthings https://market.android.com/details?id=com.connecthings.tagwriter

Upvotes: 0

Sven Haiges
Sven Haiges

Reputation: 2636

Android 2.3.3 now supports write capabilities, too. Details which tags are supported are here: http://developer.android.com/sdk/android-2.3.3.html.

I plan to work on several examples how to read and write tags and will publish links on my twitter account @hansamann

Upvotes: 3

TheCottonSilk
TheCottonSilk

Reputation: 8812

Based on what I came across, for now Nexus S provides only read functionality for NFC tags and support for other modes is planned.

I don't think there can be a OS or platform specific RFID tag, that would not be a good commercial decision :).

Upvotes: 1

bulamonto
bulamonto

Reputation: 21

The URL was written with another device (Nokia 6212). I am waiting for the Nexus S update that will enable the phone to write onto the tags.

Upvotes: 0

bulamonto
bulamonto

Reputation: 21

The Nexus S will read Mifare tags. I have replayed YouTube videos (http://www.youtube.com/watch?v=eu7fQsPjDls) from a smartcard using the Nexus S.

Upvotes: 0

Related Questions