|
http://developer.android.com/about/versions/android-4.4.html
Host card emulation
Android apps can now emulate ISO14443-4 (ISO-DEP) NFC cards that use APDUs for data exchange (as specified in ISO7816-4). This allows an NFC-enabled device running Android 4.4 to emulate multiple NFC cards at the same time, and allows an NFC payment terminal or other NFC reader to initiate a transaction with the appropriate NFC card based on the application identifier (AID).
If you want to emulate an NFC card that is using these protocols in your app, create a service component based on the HostApduService class. Whereas if your app instead uses a secure element for card emulation, you need to create a service based on the OffHostApduService class, which will not directly be involved in the transactions but is necessary to register the AIDs that should be handled by the secure element.
也就是说,可以模拟安全级别不高的智能卡,门禁等 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。
|