aspose file tools*
The moose likes I/O and Streams and the fly likes Examples with usb.*; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Examples with usb.*;" Watch "Examples with usb.*;" New topic
Author

Examples with usb.*;

Anton Pechsherov
Greenhorn

Joined: Sep 09, 2008
Posts: 26
I have test class with this library... But there is no exaples to use USBSocket()
If you have more examples , i'll glad to test it))
How i can work with this method?(example)
USBSocket usbSocket = new USBSocket((Device)bus.getDevice(i));
But it's wrong(I think) ...
I have JavaDoc(usb.*).. but its pure documenation!


I make different errors when writing posts...because i don't speak English...
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi Anton,

I am personally not familiar with the usb package, but I found this link which contains some sample code that might help you.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Anton Pechsherov
Greenhorn

Joined: Sep 09, 2008
Posts: 26
Hi Martijn,
Thanks for "link" ...
but its different libraries.. and there no examples with USBSocket.getInputStream()
USBSocket.getOutputStream .... and another))
Wait for java-usb programmer... or examples..

[ September 16, 2008: Message edited by: Anton Pechsherov ]
[ September 16, 2008: Message edited by: Anton Pechsherov ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Examples with usb.*;