Follow up question... I tried running the GPKTest program accompanying the Gemplus
GPK8000 driver (and APIs) and i noticed the same problem. When the declaration for
the CardRequest is constructed as follows :
CardRequest cr = new CardRequest(CardRequest.NEWCARD, null,
null);
I can successfully create a SmartCard object. But when I tried to invoke the followng
codes:
FileAccessCardService facs = (FileAccessCardService)
sc.getCardService(FileAccessCardService.class, true);
the exception error occurs...
java.lang.ClassNotFoundException: CardService implementing interface
opencard.opt.iso.fs.FileAccessCardService
at
opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:269)
at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
at WaitForCardInsert.main(WaitForCardInsert.java:24)
It seems that the CardRequest requires to have the constructor as follows :
CardRequest cr =
new CardRequest(CardRequest.NEWCARD, null,
FileAccessCardService.class);
But whenever I tried to do so, the program hangs in the SmartCard object creation. I
need some help from an expert like you guys...
Thanks,
Harley
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---
> 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.