As part of the NFC intention received by your activity, you will also receive a tag tag (object Tag) in addition to:
Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
. , NDEF, :
Ndef ndefTag = Ndef.get(tag);
connect():
ndefTag.connect();
, "" , :
try {
ndefTag.getNdefMessage();
} catch (IOException e) {
}
, , .