Android Host Card Emulation (HCE) for NFC

Anyone tried HCE on Android?

I’ve been experimenting with some custom APDU stuff on the reader side, but there isn’t much available for testing on the Android side and I’ve never done any Android development.

I found the “Android Smart Card Emulator” project but it freezes on my Pixel XL. I also found a sample app to test but I was wondering if anyone had any experience with HCE.

The goal is to select a custom AID and send a unique code, and then have the Android app respond with a password that the receiver will type with a virtual USB keyboard. I’m an embedded guy so I’ll do the receiver side hardware+software, but the Android stuff is new to me.