USB « Development « Java I/O Q&A





1. Copy a file from PDA to PC via USB in java    stackoverflow.com

In my application I want to copy a file from PDA to PC via USB, using Java. But I don't have any idea about how to do this and what API to ...

2. How to delete files from a USB Stick ? Using File.delete() doesn't work    stackoverflow.com

after creating a file and populating it with that with a thread if the file is in a USB java can't delete it, when I try on disk it deletes the ...

3. How to detect a usb drive in Java    stackoverflow.com

I would like to know how to detect a usb drive. I have already read this post but I am interested in knowing if we can just use java.io.*; to ...

4. Has anyone used a Serial -> USB adaptor with a Java program?    coderanch.com

I am curious if anyone has ever used an adaptor to convert from a RS232 (Serial) port to a USB and gotten it to work. I have an idea that I want to try.. but the hardware is only available with an RS232 adaptor. However, my laptop does not have one of these ports so I was going to attempt using ...

5. using usb to interact with a pic    coderanch.com

7. reading from usb barcode scanner    coderanch.com

8. feasiblity of accessing usb devices from Java via jusb or icaste on WinXP/vista    coderanch.com

I'm been tasked at writing a windows application that among other things must be able to read/write from usb and serial peripherals on the PC. I have been investigating the possibility of using Java. I know I can probably get the serial functionality from Rxtx but I am unsure about USB-support. JUSB makes me nervous because of the lack of recent ...

9. Send Command to USB devices    coderanch.com

Hi Actually i am trying to build an application to send at commands to usb devices and trying to use javax-usb library for that. I am stuck with the javax.usb.properties file for windows.... there is a parameter named javax.usb.services which needs the file that implements the Usb Services Interface but i am unable to locate any such file for windows, although ...





10. Examples with usb.*;    coderanch.com

11. Uploading and Retrieving USB files    coderanch.com

Hi, I created a servlet program that uploads files (pdf, doc, txt, etc.) to the server. The program works fine and is successfully loaded when the file is from a local drive (hard disk, cd, floppy) or even in a network file (files coming from a client drive) and also a file coming from a memory stick (USB files) I also ...

12. Interaction with Usb Device    coderanch.com

Hi I have been trying to perform i/o operations with the any usb device in linux. In this case i have connected a usb flash drive to the linux machine. This is the output i receive when i try to detect the usb pipe and the exception arises when i try to open the pipe: The output i get is: run-single: ...

13. USB Modem stuck while submitting data    coderanch.com

Hi I am using phone as Usb modem for doing I/0 but i am stuck while submitting data to the modem. import java.util.*; import javax.usb.*; import javax.usb.event.*; import javax.usb.util.*; public class DefaultControlPipe { public static void testIO(UsbDevice device) { try { // Access to the active configuration of the USB device, obtain // all the interfaces available in that configuration. UsbConfiguration ...

14. Need Java Library to access USB    coderanch.com

15. Mounting and Dismounting (USB Drive) Volumes    coderanch.com

I am writing a Java application to perform mass copying of files to many USB drive devices connected to a Windows PC via daisy chained USB hubs. The copy operation will be performed on as many USB drive devices as I can get to work simultaneously. (It looks like 127 ports per root on the PC, so at least this many ...

16. API for USB I/O    coderanch.com