Dear All,

I have tested  a Java sample program on OCF to detect the 
inserted card as follows:
// etc ...
try {
     // Initialize the framework
     SmartCard.start ();
     SmartCard sm = SmartCard.waitForCard (new CardRequest 
          (CardRequest.ANYCARD,null,null));
// etc ...
I am having a problem that sometimes the waitForCard() statement 
pass and go to the next statement, but sometimes just waiting there 
until I hit a Ctrl-C to abort the program, I alway keep the reader 
power on and card inserted, I am using a PCSC10 type of reader+
card connected to a PC running OCF 1.2.

Wade



---
> 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.

Reply via email to