~/talk

Hands-On with Host Card Emulation

TalkinJapaneseat DroidKaigi 2018 · 2018-02-08..02-09· [android, security]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 2:20Host Card Emulation overview
  3. 6:25NFC communication modes
  4. 10:05Service implementation
  5. 14:52Manifest setup and AID filters
  6. 18:11Reader implementation
  7. 21:42Felica emulation limits
  8. 23:36HCE vs HCE-F differences
  9. 24:18Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.