if (ndefListener != null)
ndefListener.onNdefOperations(ndefOperations);
}
protected Type2NdefOperations createNdefOperations(ApduTag tag) {
MfUlReaderWriter readerWriter = new AcrMfUlReaderWriter(tag);
MemoryLayout memoryLayout = null;
boolean formatted = false;
boolean writable = false;
TagInfo tagInfo = null;
try {
tagInfo = readerWriter.getTagInfo();
MfBlock[] initBlocks = readerWriter.readBlock(0, 5);
CapabilityBlock capabilityBlock = new CapabilityBlock(initBlocks[3].getData());
if (UltralightHandler.isBlank(initBlocks)) {
if (UltralightHandler.isUltralight(initBlocks[4].getData())) {
memoryLayout = MemoryLayout.ULTRALIGHT;
}