Hands-On with Host Card Emulation
summary
Shows how to implement Android Host Card Emulation (HCE): add an Android service and manifest AID filter, implement processCommandApdu to return bytes or null (then call sendResponseApdu later) and use IsoDep.transceive for reliable APDU exchanges. Notes Android 4.4 introduced HCE, Android 7 added Felica (NFC‑F) emulation, and that NFC‑F emulation requires the app to be foreground while NFC‑A HCE can run in background; a demo reads the emulated string from a reader.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:20Host Card Emulation overview
- 6:25NFC communication modes
- 10:05Service implementation
- 14:52Manifest setup and AID filters
- 18:11Reader implementation
- 21:42Felica emulation limits
- 23:36HCE vs HCE-F differences
- 24:18Summary
related talks
40mEasy NFC Life with Host-based Card Emulation
45mAndroid as the Basis for Implementing a Mobile Passport
32mWorking with NFC and smart cards
43mRelaying EMV Contactless Transactions Using Off-The-Shelf Android Devices
32mMaking contactless transaction with CardSession
30mAIDL HAL by Example: Using Hardware from Android Application
48mProgramming and using NFC cryptographic cards
28mBuild intelligent experiences: Deep dive into AppFunctions
