Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Other BlackBerry® Smartphones

Reply
New Contributor
RusMSK
Posts: 5
Registered: 11-13-2009

Is it possible to send APDU commands via Blackberry Smart Card reader?

Hello!

 

The issue is I can't to send ISO 7816-4 and native JC APDU commands via BlackBerry smart card reader. As I paired my BB with BB SC reader I expected to have new additional reader when I call:

 

SmartCardReader[] readers = SmartCardReaderFactory.getInstalledReaders();

 

or

 

SmartCardReader[] readers = SmartCardReaderFactory.getReaders();

 

but any of these lines returns an empty array to me. The SmartCardReader instance is necessary to open SmartCardReaderSession. Each session object has "sendAPDU" method to transfer APDU commands to smart card.

So, I have two questions:

1) Is there any way to get SmartCardReader instance?

2) Is it possible to send APDU commands via Blackberry Smart Card reader?

Please use plain text.
New Contributor
RusMSK
Posts: 5
Registered: 11-13-2009

Re: Is it possible to send APDU commands via Blackberry Smart Card reader?

I beg your pardon, the decision was to install special smart card driver on my BlackBeery handheld, whereupon everything works fine.

Please use plain text.