Working with NFC and smart cards
summary
Explains how Android talks to NFC cards using ISO/IEC 7816-4 and EMV commands, showing real SELECT (A4), GET PROCESSING OPTIONS and READ RECORD exchanges and TLV parsing with a library; demonstrates a Kotlin/Java demo that connects to a Mastercard and performs a mocked GENERATE AC (outcome A/decline). Identifies two practical failures: a Java signed byte bug that drops record iteration and noisy terminals that resend selects, and recommends sanitized logging and unit tests for APDU byte handling.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 7:02NFC protocols and Android
- 15:37EMV payment flow
- 23:45NFC app pitfalls
- 28:25NFC security testing
- 30:35Resources and closing
related talks
40mEasy NFC Life with Host-based Card Emulation
48mProgramming and using NFC cryptographic cards
25mHands-On with Host Card Emulation
34mJourney to the Heart of Contactless Payment
45mAndroid as the Basis for Implementing a Mobile Passport
45mNot Just Two Bytes: Emulating Contactless Cards on Mobile Devices
43mRelaying EMV Contactless Transactions Using Off-The-Shelf Android Devices
32mMaking contactless transaction with CardSession
