in this section: http://www.opencard.org/docs/pguide/PGuide.html#HDRGETTINGASMARTCARDVIAEVENT NOT the documentation has sample code for event notification. It has: public void cardInserted(CardTerminalEvent event) { if (smartcard == null) { try { smartcard = SmartCard.getSmartCard(event); terminal = event.getCardTerminal(); slotID = event.getSlotID(); } catch OpenCard Exceptions { // handle error... } } } But, in the documentation for SmartCard, it states: "getSmartCard(CardTerminalEvent ctEvent) Deprecated. use getSmartCard(CardTerminalEvent, CardRequest)" Is there an updated version of the documentation somewhere? Or, can someone clarify the correct way to handle cardInserted and cardRemoved events in OCF 1.2? 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.
