1

I am using Telephony Manager to transmit APDU commands to the SIM. I have the MODIFY_PHONE_STATE permission.

I am using the below function:

String iccTransmitApduBasicChannel (int cla, int instruction, int p1, int p2, int p3, String data)

I want to know the format of the argument data. Is it in int or hex or other format?

Michael Roland
  • 39,663
  • 10
  • 99
  • 206

1 Answers1

1

The data parameter of the method iccTransmitApduBasicChannel() corresponds to the DATA field of the APDU. Each byte of that field is represented as 2-digit hexadecimal value.

Michael Roland
  • 39,663
  • 10
  • 99
  • 206