Re: Save the text field in a file
Thursday, January 24, 2002 10:46 AM
I think some things need to be clearified here. First, host applications communicate to the CAD not to the actual card, and vice versa.
Second, when a card is powered up, the selected applet responds to commands, therefore, it can't be "smart" enough to know when the card's been removed because when the card is removed, it's in a suspended state.
You will need your host application to send an C-APDU to the applet and the applet will send back in an R-APDU with data. From there, your host can save it to disk.