Accessing Flash Drive

I am developing project running under kiosk platforms.

I need to detect USB Flash Disk inserted to the slot and do some read/write operation on that disk.

Is there a smart way to do it?

Ps: What I am planning to do is, to keep a record of current drive letters and try to detect new drives.

Thanks

emrah budur

[347 byte] By [emrahbudura] at [2007-10-3 9:25:08]
# 1
> Ps: What I am planning to do is, to keep a record of> current drive letters and try to detect new drives.> Thanks > emrah budurThat could work
tjacobs01a at 2007-7-15 4:39:11 > top of Java-index,Desktop,Developing for the Desktop...
# 2
hi,can u help me out?how i can access a usb pen drive on sun fire V210.
kush4onlyua at 2007-7-15 4:39:11 > top of Java-index,Desktop,Developing for the Desktop...
# 3
File.listRoots() will tell you what root directories are available.Remember what the roots are when no drive is inserted. Ask every <<time interval>> what the roots are. Whenthe results are different from expected, the new root is a drive.
es5f2000a at 2007-7-15 4:39:11 > top of Java-index,Desktop,Developing for the Desktop...