• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Access USB smart card reader with Java

Sureshot324

Diamond Member
I'm working on a Java app that will need to read a smart card from a USB smart card reader. The reader comes with a C++ API but not Java. I'd like to be able to interface with the smart card reader purely with Java, since then I could have a Java webstart app and user's wouldn't need to install anything but that. Windows installs the drivers for the reader automatically.

Basically I'm look for a way to interface directly with the driver from Java. Is this possible?
 
Hi, I never tried, but when I interfaced with a CD burner in the past, I simply used the drive's name and a File object.
 
Does the driver just use a serial connection? You could port or rewrite the driver.

Otherwise, you're going to need to interface C++ code with java code. You'll need to write the C++ interface.
 
Back
Top