Friday, September 9, 2011

Re: [android-developers] Re: Read NfcA card

Hallo,

> I need to read and write ISO 14443-4 smart card .

In this case you won't need NfcA at all. You only need the IsoDep class.
In general you shouldn't care whether your IsoDep card uses NfcA or NfcB
as low-level technology.

> I had used
> "mTechLists = new String[][] { new String[]
> { NfcA.class.getName() } }"
> "NfcA tag=NfcA.get(tagFromIntent)".How to use IsoDep?

Just replace NfcA with IsoDep.

> Next, What I should do? Can give me some hints?

You can then connect to the IsoDep object:
tag.connect();

Then you can transmit ISO 7816-4 APDU commands with the transceive() method:

byte[] responseAPDU = tag.transceive(commandAPDU);

br,
Michael

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate