Hi,

I am new to android development, and needed some urgent help for this
API. Am trying to use the new library for nfc which was released in
2.3.3

I can get a NfcA object using the getTag(tag) method.
NfcA myTag = NfcA.getTag(tag);

I then do a

try{
myTag.connect();
if (myTag.isConnected()) {
    retData = myTag.transcieve(apduCmd); //where apduCmd has a Select
AID cmd
}
myTag.close();
} catch (IOException e) {
   e.printStackTrace();
}

When I run this code, I get an IOException on the transcieve method.

Can you help me debug this please?

Thanks,
Priti

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

Reply via email to