简体   繁体   中英

How to make an android phone act as Contactless smart card?

I would like to know how to make the android phone act as contactless card to transfer certain data to POS. Is there any specific Intent we should try to catch and how to communicate with that eternal POS via NFC.

I am afraid it is not directly possible. You need to enable NFC Card emulation which involves recompiling a custom firmware image. I am not aware if beyond Android 2.3.6 emulation is already enabled by default (so Google Wallet can be used). If you want to enable card emulation by recompiling the system by yourself here you have more information. At any rate secure element of the emulated card can not be accessed (see information following the links) directly from an application by any means.

In order to contact with a contactless smart card you need to use the pending intents and foreground dispatch. Now regarding the contactless terminal i'm not sure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM