private Tag tag; //Read success. protected void onNewIntent(Intent intent) { super.onNewIntent(intent); tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); byte[] id = tag.getId();
}
如何获取NFC id,而不必在android上阅读NFC?
谢谢
作为标签(卡片模拟)的移动电话确实有一个随机UID(4字节)。不支持调整特定的UID。
因此,每次关闭外场并再次打开时,手机都会显示不同的UID。