TelephonyManager.iccTransmitApduBasicChannel data argument format

344 Views Asked by At

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?

1

There are 1 best solutions below

1
Michael Roland On BEST ANSWER

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.