>Can I use the CardChannel.state functions to get and set any data I wish? Yes, however, we introduced it to store card or applet states. >The problem I'm trying to solve is determining which applet on the card >(AID) was selected last. OCF 1.2 will provide a solution to this problem, in the package opencard.opt.applet. It will be released very soon... >When the card is removed, this selection needs to be reset. So, when the >card is removed from the reader, does the CardChannel object get deleted? Yes, the CardChannel object gets deleted when the card is removed. >I reset many variables in my card when the AID is selected for my applet, so >it has to be selected once and only once when the card is inserted. Best regards, Thomas Thomas Schaeck IBM Pervasive Computing Division - Smart Card Solutions E-mail: [EMAIL PROTECTED] Tel.: ++49-7031-16-3479 Fax.: ++49-7031-16-4888 Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen, Germany [EMAIL PROTECTED] on 28.01.2000 16:54:11 Please respond to "Tom McKearney" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: (bcc: Thomas Schaeck/Germany/IBM) Subject: [OCF] JavaCard Applets, OCF, CardChannel.[set/get]State() Can I use the CardChannel.state functions to get and set any data I wish? The problem I'm trying to solve is determining which applet on the card (AID) was selected last. When the card is removed, this selection needs to be reset. So, when the card is removed from the reader, does the CardChannel object get deleted? I reset many variables in my card when the AID is selected for my applet, so it has to be selected once and only once when the card is inserted. Thanks for any help. Tom McKearney --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body. --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
