Android 怎么给NFC设为只读模式,或者写之前加密,让别的应用不能改写应用内容
你可以试下readyOnly
只能在被动设备上设。
Ndef ndef = Ndef.get(tag); ndef.makeReadOnly()
第二行的方法可以 用这个写入之后 标签内容无法更改