Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read my CB/Visa - IOException when IsoDep.connect() #10

Open
GoogleCodeExporter opened this issue Sep 16, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

Hello !
I don't know if anyone is still following this NFC story... I tried to see by 
myself if my data was exposed by reading my own bank card, however I cannot get 
anything from it. This might be a good thing, or it is just that I am not a 
good enough android dev. Maybe someone can help me?

The mTechStringList attribute of the Tag object discovered has 2 values: IsoDep 
and NfcA.
However when I try to use the connect() method, I get a IOException...

Concerned code is the following:

Tag nfcTag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
//Tag t = (Tag) nfcTag;
IsoDep myTag = IsoDep.get(nfcTag);
   if( !myTag.isConnected() ) {
    try {
        myTag.connect();
    } catch (IOException e) {
        e.printStackTrace();
        return;
    }
}

Do you know if banks reacted and implemented security measures ? Or is there 
something wrong with the code ?
My card is a French bank CB / VISA card, quite common.

Thank you !
Nicolas

Original issue reported on code.google.com by Nico...@gmail.com on 2 Jul 2014 at 9:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant