Hello all,
I just started working with OCF, and i'm trying to build my first very
simple application just to select a FileAccessCardService for the IBM MFC
Card (I am ensured that the card i'm using is a MFC 3.51 card) but i get the
ClassNotFoundException for this service, is there some way to check why this
is the case? And how can i get the type of card (MFC35, MFC40 or
NOTSUPPORTED) as it is seen by the MFCCardServiceFactory?
I presume this type is related to the ATR?
a code snipped:
SmartCard card = SmartCard.waitForCard(new CardRequest());
if(card != null)
{
FileAccessCardService facs = null;
facs =
(FileAccessCardService)card.getCardService(FileAccessCardService.class,true)
;
}
I have the reference services for the MFC Card installled.
Regards and thanks in advance,
Gerard Ista
---
> 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/