Can an Android NFC phone act as an NFC tag?

前端 未结 14 568
清歌不尽
清歌不尽 2020-12-12 12:17

From what I have understood so far, an NFC phone will act as an NFC reader which will read data from an NFC tag. Now my question is, can we switch this around? Can we make a

相关标签:
14条回答
  • 2020-12-12 12:34

    In the google io session about NFC, qa section. There was such a question:

    card emulation? No API support for card emulation No consistent user experience when doing card emulation and no compelling story

    0 讨论(0)
  • 2020-12-12 12:37

    yes you can. Android kitkat boosts of this functionality here

    0 讨论(0)
  • 2020-12-12 12:40

    Read here: http://groups.google.com/group/android-developers/browse_thread/thread/d5fc35a9f16aa467/dec4843abd73d9e9%3Flnk%3Dgst%26q%3Dsecure%2Belement%2Bdiff%2527s%23dec4843abd73d9e9?pli=1

    I've not verified that myself but it looks like people managed to include the hidden code into Android again. They seem to be able to emulate a Mifare Classic card (iso-14443). I'll soon test this myself, it looks very interesting.

    If you want to do it for a commercial/free app you'll have a hard time, your users won't like to change their kernel to support your app.

    Update: There would be a simple trick to make your phone emulate a ticket:
    You can get a NFC-sticker and put it in or on the phone. This way you are able to read and write it at all times and other devices can also read and write it.
    It's just an idea I had, never seen that used anywhere of course ;)

    0 讨论(0)
  • 2020-12-12 12:41

    Check the Host-based Card Emulation (HCE) NFC mode available in Android 4.4.

    API guide: https://developer.android.com/guide/topics/connectivity/nfc/hce.html

    0 讨论(0)
  • 2020-12-12 12:41

    You can definitely make an Android phone write to a tag reader using the NDEFPush functionality in the peer-to-peer support - but you will need to write the code on the tag reader side to use peer-to-peer as well (llcp).

    0 讨论(0)
  • 2020-12-12 12:42

    Yes! you can Just download this app!

    Download APP

    And if you want to know how do you use this app have a look at this video How To use NFC tools to emulate NFC as a tag app

    Thank You! Please mark my answer if it helps you!

    0 讨论(0)
提交回复
热议问题