Tuesday, September 6, 2011

[android-developers] Nfc phone read the type A card.

Hi all:
I have some questions about read the card(type A).I hope someone
can communicate with me and help me.Thank you very much.
Q1: I want to use two classes:IsoDep and NfcA to read a type A
card.But how to use at the same time?
→mTechLists = new String[][] { new String[]
{IsoDep.class.getName()} };
//mTechLists = new String[][] { new String[]
{NfcA.class.getName()} };
→public void onResume() {
super.onResume();
mAdapter.enableForegroundDispatch(this, mPendingIntent,
mFilters, mTechLists);}
Q2: In the IsoDep class, "transceive (byte[ ] data)" means send
raw IsoDep data to the tag and receive the response. How to send data?
Q3: →public byte[] getHistoricalBytes ()
The historical bytes can be used to help identify a tag. They
are present only on IsoDep tags that are based on NfcA RF technology.
If this tag is not NfcA then null is returned.
What 's the meaning?

Thank you !

--
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

No comments:

Post a Comment