Hallo,
> byte[] commandAPDU= new byte[]{
> (byte)0x00, (byte)0xA4, (byte)0x04, (byte)0x00, (byte)7,
> (byte)0xAB, (byte)0xE5, (byte)0xBC, (byte)0x08, (byte)0x85,
> (byte)0x01, (byte)0x00};
> byte[] responseAPDU = tag.transceive(commandAPDU);
> String m1=Hex.byteArrayToHex(responseAPDU);
>
> But t
Hi,Michael!Thanks your hints!
I have try read smart card,this is my program:
"
Tag tagFromIntent = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
IsoDep tag = IsoDep.get(tagFromIntent);
try{
tag.connect();
tag.setTimeout(20);
byte[] commandAPDU= new byte[]{
(byte)0x00, (byte)0xA4, (byte)0x04, (b
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[]
> { Nf
Hi,Michael!Thanks your answer.
I need to read and write ISO 14443-4 smart card .I had used
"mTechLists = new String[][] { new String[]
{ NfcA.class.getName() } }"
"NfcA tag=NfcA.get(tagFromIntent)".How to use IsoDep? The problem with
me for a long time.
Next, What I should do? Can give me some hin
Hallo,
> NfcA tag=NfcA.get(tagFromIntent);
> and i can get the ATQA,SAK,but i don't know how to use
> "transceive(byte[] data)",and how i can read the card??
There is no simple answer to that question. FIrst you need to know
what card/tag technology you have. (E.g. Topaz/Jewel, MIFARE
5 matches
Mail list logo