How to Connect External NFC Card Reader to Tablet

前端 未结 8 1395
感动是毒
感动是毒 2020-12-03 04:16

Right now I am having Tablet having OS Android 2.3.3 instead of NFC phone,so I need to connect External card reader to tablet.Please tell me which card reader should I prefe

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 04:45

    A little late to answer here, but I've actually tried to implement an external NFC reader as close to native NFC as possible.

    It is possible to add an additional service, but the regular NFC initialization (NfcAdapter etc) will not be aware of this service, so it will have to be initialized in addition.

    The result was that it is not technically possible to replace or add the built-in NFC service on a stock ROM - in a 'drop-in-replacement-way'.

    Reusing some of the native NFC classes like Tag and IsoDep is possible.

    However as a developer of an NFC app, you really do not want the same functionality from the external service as the built-in. The external reader probably has more functionality and at a very minimum you want to know whether the reader is plugged in or not.

    See External NFC API for additional information (note: it is not a fully open source product).

提交回复
热议问题