diff --git a/Mifare Classic Tool/app/src/main/java/de/syss/MifareClassicTool/Activities/TagInfoTool.java b/Mifare Classic Tool/app/src/main/java/de/syss/MifareClassicTool/Activities/TagInfoTool.java index f1f43832..28027798 100644 --- a/Mifare Classic Tool/app/src/main/java/de/syss/MifareClassicTool/Activities/TagInfoTool.java +++ b/Mifare Classic Tool/app/src/main/java/de/syss/MifareClassicTool/Activities/TagInfoTool.java @@ -127,6 +127,7 @@ public void onReadMore(View view) { private void updateTagInfo(Tag tag) { if (tag != null) { + NfcA nfca = NfcA.get(tag); // Check for MIFARE Classic support. mMFCSupport = Common.checkMifareClassicSupport(tag, this); @@ -157,7 +158,6 @@ private void updateTagInfo(Tag tag) { uid += ", CL3"; } uid += ")"; - NfcA nfca = NfcA.get(tag); // Swap ATQA to match the common order like shown here: // http://nfc-tools.org/index.php?title=ISO14443A byte[] atqaBytes = nfca.getAtqa();