File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes Device Access from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Device Access from Java" Watch "Device Access from Java" New topic

Device Access from Java

Kuls jain

Joined: Oct 14, 2009
Posts: 3
I need to access any device via java. That's may be applet or plain java code.

mainly I need to access any pen drive or any other device through usb port.

if any one able to help it. please. help me as soon as possible........

Thanks in advance.........
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
The "any device" part could be tricky, but the points to an article and two libraries about accessing USB devices using Java.

Please read UseTheForumNotEmail for why I removed the email address from your post.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63532

"javaDeveloper AndLearner", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

Please choose a forum carefully.
This is not a distributed java question. Moving to I/O and streams forum.

Also, please see your PMs as told by Bear

apigee, a better way to API!
Kuls jain

Joined: Oct 14, 2009
Posts: 3
Sorry for multiple posting of the same same question but if you have any clear idea about accessing the device and accessing the content of that device via java then please share with me.

I need your urgent help guys.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Are you saying the article and the two libraries I pointed you to were of no help whatsoever? Then you should explain in much more detail what you intend to do that can't be done using those tools.
Samuel March
Ranch Hand

Joined: Oct 28, 2009
Posts: 39
To start javax.comm
naughty quote from docs: The Communications API
The Communications API is centered around the abstract class CommPort and its
two subclasses, SerialPort and ParallelPort,

...did you have the fish?!............................ No.
I agree. Here's the link:
subject: Device Access from Java
It's not a secret anymore!