I am currently developing an app which will read NFC tags
currently i have written the code to get TAG id
what should i do next? How can i read all data if the intent
extra namedEXTRA_NDEF_MESSAGES
is empty.
the code for reading RFID i have for now is
public void onNewIntent(Intent intent) {
Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
String zin = tag.getTechList()[0];
info.setText("TagID: " + bytesToHex(tag.getId())+" Saturs: "+zin);
}
I would like to know how to read all data in that NFC tag
.
Thank you allready!