if (applicationDirectory.hasApplication(MfNdefConstants.NDEF_APP_ID)) {
Application application = applicationDirectory.openApplication(MfNdefConstants.NDEF_APP_ID);
byte[] tlvWrappedNdefMessage = application.read(new KeyValue(Key.A, MfConstants.NDEF_KEY));
if (log.isDebugEnabled())
log.debug(NfcUtils.convertBinToASCII(tlvWrappedNdefMessage));
TypeLengthValueReader lengthValueReader = new TypeLengthValueReader(new ByteArrayInputStream(