Hi All,

I am facing an issue with a Mifare Classic card (this is a dual
interface smart card; contact and contactless). When I use
transceive() to send apdu corresponding to "select AID", it always
return null.
The flow of the application is:
1) Tech Discovered
2) Create MifareClassic object using
intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
3) Called connect();
4) Verified that I am connected using isConnected();
5) Send select AID apdu using transceive();
6) Received a "java.io.IOException: transceive failed" which is
triggered when null is returned.

I have verified that the select AID command works when I tested the
card using contact interface. Appreciate it anyone can help me.

Thank you.

Regards,
Wilson

On Apr 18, 6:52 pm, perumal316 <perumal...@gmail.com> wrote:
> Hi All,
>
> I am having Nexus S and a Mifare Tag. Using TagWriter application I am
> write and read from the Tag. Now I want to try sending an APDU command
> to the Tag.
>
> Is this possible? Any recommendation on how this can be done?
>
> Thanks In Advance,
> Perumal

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to