File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Examples with usb.*;

 
Anton Pechsherov
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anton Pechsherov
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic