aspose file tools*
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
Author

Device Access from Java

Kuls jain
Greenhorn

Joined: Oct 14, 2009
Posts: 3
Hi.
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
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
The "any device" part could be tricky, but the http://faq.javaranch.com/java/JavaIoFaq 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.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60991
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Nitesh Kant
Bartender

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
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
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: http://aspose.com/file-tools
 
subject: Device Access from Java