wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Java USB Api.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java USB Api.." Watch "Java USB Api.." New topic

Java USB Api..

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141

The problem is like this...
I have a USB drive attached to my computer and i want to access every
information realated to USB using Java application..and also want to perform data transfer...

Can nyone tell me which api are available???
ny sample program will also work for me.....


SCJP 1.4
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41137
Data transfer should be simple as far as Java is concerned - it's just another drive you can read from and write to.

What do you mean by "information related to USB"? Do you want to write a driver for USB devices?

Ping & DNS - my free Android networking tools app
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

You can find a Java USB API here: http://jusb.sourceforge.net/

But as Ulf says, if you just want to read or write files from an USB drive, you don't need to use a low level API like this - you can just use the standard I/O classes to read and write files.

Search for "java usb" with Google for more options.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
no i m nt writing USB driver!!!.

General Information abt USB devices i want have....
I agree. Here's the link: http://aspose.com/file-tools
subject: Java USB Api..
Similar Threads
aceesing usb dongle from java appn
sending data from java appn(pc) to usb dongle
end and receive data with the Java API for windows
how to access usb port in wtk
sending data from java appn(pc) to usb dongle