nfc on samsung nexus s - android

I have nexus s mobile with me. I am working with the smartcard apps on android. As i surffing over net, I came to know that nexus s mobile is able to read the smartcard tags. When i tried to connect the smartcards which i have , I am unable to get the tag information and i have no Response. why is that not connected with nexus s . All i need to know is, Is there any specific needs the smartcards should satisfy to connect with nexus s ?? Or what kind of tags we can connect with nexus s mobile.
Can anyone pls give me your valuable suggestion.

You can read all the tag types specified by TagTechnology with the Nexus S. If you can not read the Tag it could be a matter of malformed content, invalid authentication Keys (in case you are reading protected Tag such as a Mifare Classic or a Mifare Desfire), etc.
Instead of using default Tag read application, I recommend you the NFC Tag Info from NXP application. It gives you much more information about the underlying specification of the read tag.

Related

How to send information from RFID-RC522 module to android phone via NFC?

I'm trying to send temperature and humidity data using arduino to a android smartphone via NFC. I set up the circuit using a DHT11 sensor to measure data, and RFID-RC522 module to read data when using an identified tag. I want to be able to see the data from the phone, when I read my NFC supported phone to the module.
I ask for your help in this matter.
Thank you in advance for your answers.
Unfortunately the MFRC522 chip is extremely basic and can only act as a reader, thus probably your only option is to use Host Card Emulation (HCE) on Android so that the Android phone emulates a Type 4 (ISO 7816) Tag.
But you will still have to do a lot of work on the Arduino to implement the the protocols needed, to have the MFRC522 to write data to the Android phone pretending to be a Tag.
If you used a more advanced NFC Chip like the PN532 you could reverse the roles and as the PN532 can emulate a Tag and thus the Android Phone could be the reader and just read values from the PN532 emulated Tag
Note I've not tried this myself, just my research in to a similar problem.

Write on a Read Only NFC tag

I'm new to android development. I'm creating an app that uses NFC, so I bought some Sony Xperia NFC tags. I'm trying to write a code to one of them but I'm getting a message that it is 'Read-Only'. Is there any chance to Write on it?
I know that maybe its a stupid question but I saw a video where it was possible to write to Sony Xperia smart tags.
Try downloading a NFC App which is capable of writing to NFC tags from Google Play and see if the NFC tags work with the app. If not the NFC tag may be ReadOnly and you will have to buy new ones:
http://www.identivenfc.com/en/nfc-tags.htm
http://buynfcstickers.com/index.php/?mode=list
http://nfctags.tagstand.com/collections/nfc-kits/products/nfc-hobbyist-starter-kit-15-stickers
http://nfctags.tagstand.com/collections/nfc-kits/products/nfc-task-launcher-pack-6-tags
NFC ReTag claims that they can write to read-only tags:
Works with ANY android supported tag = re-writable AND write
protected!
I have not personally tried the app.
NFC ReTag doesn't really write on read-only tags. It just assign an ID number to each new tag that it recognises, and then every time you approach that tag it triggers the action you've selected.
I've tested it on Sony Xperia Smart Tags, which are read-only.

Invisible Ndef message

I am implementing an Android application for NFC devices. I am using a Ndef, NfcV and NdefFormatable tag with two different Android devices: a Samsung Galaxy SII plus and a Samsung Galaxy SII each running android version 4.1.2. the SII plus can see the tag, read it and write it without problem, but the SIII can't see the Ndef technology, it only sees the NfcV technology. Any idea why? The problem occurs on any marketed application as on mine and regardless of the tag having an actual NDEF message or not.
The NfcV Tags aren't official NFC Forum tags. Therefore there is no standardized way how an NDEF message has to be stored on the tag. Also not all NfcV tags work in similar ways. Depending on the specific tag you have to send different commands to the tag if you want to low-level read or write the tag. The memory architecture between different tags differs as well.
In practice NFC communication libraries deal with the problem by having a list of some common NfcV tags along with instructions how to read/write to them. This list differs between different phones and android version.
This incompatibility will not go away in the short term. NfcV may become part of the NFC Forum standard, but that does not help you out now. There are two ways how to deal with this problem:
Don't use NfcV if you need a tag type that can reliable exchange data between all NFC devices. NFC Forum Type1 to Type4 are made for this. NfcV reading/writing capabilites are not even guaranteed to be supported.
If you are tied to this specific NFC tag due to project reasons, you can ignore the built-in NDEF reading code and do it on your own. For this you need the tag datasheet and send raw commands using tag.transceive. It's a bit more work, but it is not that hard.

Storing NFC tags on Android

can nexus s be used as an NFC tag? that stores details such as a users credits etc.
Currently Nexus S can read NFC tag. But its not capable of storing NFC tags as of now. The future OS update of Nexus S will surely have this feature.
Also for your reference,
http://www.mail-archive.com/android-developers#googlegroups.com/msg150101.html
This may give you some good idea.

Getting started with nexus s NFC/RFID

Getting started with Nexus S NFC/RFID. Can anyone provide any guidance?
I'm interested in creating some home brew demos using the nexus s NFC/RFID hardware.
I think I need to find the appropriate tags and how to encode urls into tags that the nexus s can read by it's tags app.
Not sure about iso 14443 tags or mifare etc
Does nexus s support all of libnfc?
If I root the device can I get access to write functionality?
Thanks
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. The URL was written with another device (Nokia 6212).
One possibility: I've noticed that the Nexus S can read RFID tags made by touchatag, an Alcatel-Lucent venture that has been around a couple years. They have a web page (google 'touchatag store') where you can order a "starter kit" of 10 tags plus a USB reader.
The tags are hard-coded to URLs at the touchatag mothership, www.ttag.be/[tagid]
So the idea is you register a tag through their web site, scanning it on the reader and associating a desired URL with it. When someone reads the tag with their phone, it will show up as www.ttag.be/[tagid] and from there it redirects to the desired URL.
I had answered this question partially in one of the Nexus S related questions.
Also, you can refer the developer.android.com URL for a demo app. I think, this uses dummy NFC tag.
If you are interested in developing some hardware demos then you need to buy a few actual NFC tags and try out the above app on your Nexus S phone device. I found a few sites (1, 2) who sell NFC tags, kits, etc. BTW, I have not tried any of these sites.
Based on what I came across, for now Nexus S provides only read functionality for NFC tags and support for other modes is planned.
EDIT:
Android blog states following are the new features in Android 2.3.3:
A comprehensive NFC reader/writer API that lets apps read and write to
almost any standard NFC tag in use
today.
Advanced Intent dispatching that gives apps more control over how/when
they are launched when an NFC tag
comes into range.
Some limited support for peer-to-peer connection with other NFC
devices.
I suggest you to but a reader/writer like ACR122U-A2 to read/write tag Topaz and Mifare Card.
In SmartId we are a pair of solution just developed with this twin.
http://www.youtube.com/watch?v=hYFwnc-apnI&feature=fvsr
If you have upgraded your Nexus to Android 4.0 then you might want to check out this Eclipse plugin (disclamer: shameless plug of own project). It uses Android NFC hardware and also supports a few NFC readers like the ACR122U.

Categories

Resources