class AndroidNfcReader extends AbstractSelectionLocalReader implements NfcAdapter.ReaderCallback {

    @Override
    protected byte[] transmitApdu(byte[] apduIn) throws KeypleIOReaderException {
        // Initialization
        LOG.debug("Send " + apduIn.length + " bytes to tag : " + ByteArrayUtils.toHex(apduIn));
        byte[] dataOut = null;
        try {
            dataOut = tagProxy.transceive(apduIn);
            if (dataOut == null || dataOut.length < 2) {
                throw new KeypleIOReaderException(
                        "Error while transmitting APDU, invalid out data buffer");
            }
        } catch (IOException e) {
            throw new KeypleIOReaderException("Error while transmitting APDU", e);
        }
        LOG.debug("Data out : " + ByteArrayUtils.toHex(dataOut));
        return dataOut;
    }

      AndroidNfcReader();

}