Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); NfcV nfcV = NfcV.get(tag); byte[] cmdInfo = new byte[]{ (byte)0x20, (byte)0x2B, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00 }; System.arraycopy(tag.getId(), 0, cmdInfo, 2, 8); byte[] answer = nfcV.transceive(cmdInfo);
byte[] data = tech.transceive(readCmd); } catch (IOException e) { e.printStackTrace();
response = nfcvTag.transceive(new byte[]); //your address nfcvTag.close();
while (true) { try { oneBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) {
nfc.transceive(arrByte); } catch (IOException e) { if (e.getMessage().equals("Tag was lost.")) {
NfcV vecinityTag = NfcV.get(mTag); vecinityTag.connect(); vecinityTag.transceive( new byte[] {0x00, 0x21, (byte) 0,0x31, 0x31, 0x31, 0x31} );
while (true) { try { replyBlock = nfcvTag.transceive(diag); break; } catch (IOException e) { while (true) { try { replyBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) { while (true) { try { oneBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) {
while (true) { try { replyBlock = nfcvTag.transceive(diag); break; } catch (IOException e) { while (true) { try { replyBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) { while (true) { try { oneBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) {
while (true) { try { replyBlock = nfcvTag.transceive(diag); break; } catch (IOException e) { while (true) { try { replyBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) { while (true) { try { oneBlock = nfcvTag.transceive(cmd); break; } catch (IOException e) {