This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 27
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: 27
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Examples with usb.*;