Ivan's Blog


Lets learn new things!

[NFC]NFC TAG data reading

NFC TAG data reading: There are different type of data can be stored in NFC tag. Data can be: TNF = TNF_WELL_KNOWN AND RECORD = RTD_TEXT/RTD_URI TNF = TNF_ABSOLUTE_URI TNF = TNF_MIME_MEDIA TNF = TNF_EXTERNAL_TYPE Here is android code example where shows how to read the data from tag. [sourcecode language=”java”] public void test(Intent intent){ ¬†¬† ¬†Parcelable[] data = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES); … Read More