I've made my Android device emulate an NFC card using HCE and processCommandApdu()
. Now I need to find the Aplication ID(AID) used by the reader of the card. If i'm not mistaken, I need the AID so I can add it to my manifest file in my android app, this way the reader will detect my phone as one of its cards.
The rest of the sectors are all 0's except for the access bits and keys which are the same as in sector 3. I was trying to read on the structure of the card but I haven't been able to find were the AID is stored, if it is at all.
Is it possible to extract the AID from the card dump? If not, is there another way? The card used is a Mifare Classic 1k.