How to read and write Android NFC tags?

后端 未结 5 983
野趣味
野趣味 2020-12-08 02:59

I followed some tutorial using the adam rocker source code for my NFCTest. I want to be able to read and write NFC tags and also launch an application.

5条回答
  •  臣服心动
    2020-12-08 03:47

    I think the code you found refers to the pre 2.3.3 era. At this point it was not able to write a tag, but with Android 2.3.3 this is possible. There is no need trying to hack the system and write tags like this.

    Have a look at the NFC Demo Project: http://developer.android.com/resources/samples/NFCDemo/index.html

提交回复
热议问题