Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need help to find the VID/PID of the usb drive connected to the system through java code

Tags:

java

usb

I need to find the vendor Id, Product Id of the usb drive connected to the system, through java code. Any suggestions...

like image 565
Manikandan Avatar asked Jul 28 '11 13:07

Manikandan


1 Answers

I have never interfaced with USB in Java before, but have a look at JSR-80 (javax.usb) API. IBM DeveloperWorks have a tutorial (which can be useful).

like image 198
Buhake Sindi Avatar answered Nov 08 '22 06:11

Buhake Sindi