Page 1 of 1

How to send string data to my java card

Posted: Fri Dec 04, 2015 4:24 am
by pitbar
I need to send string data to my java card. But it seems that my card doesn't support this data type. How can I do this?

Re: How to send string data to my java card

Posted: Fri Dec 04, 2015 9:54 am
by rena2019
char by char? as an array of bytes?

Re: How to send string data to my java card

Posted: Fri Dec 04, 2015 10:37 pm
by UNKNwYSHSA
You can sent string as byte array as rena said, in java, you can get string bytes using the String object method getBytes().