I am developing a POS terminal application. In my case I am using NFC to communicate with NFC card using APDU's. I want to communicate continually so to do that I am using a for loop. My problem is, when I pass first APDU into card it will execute successfully.But the second time and other times the index of the for loop is always contains "0" value. After send the APDU the incremented index value is erased. Can anyone help me??