Results 1 to 3 of 3
  1. #1
    Jonah Bron's Avatar
    Jonah Bron is offline Member
    Join Date
    Sep 2010
    Location
    California
    Posts
    26
    Rep Power
    0

    Default List Cameras that are Plugged In

    Hello, world!

    My program currently gets a list of drives plugged into the computer with File.listRoots(). But, when I plug a camera into the computer directly (instead of inserting the memory card), it's not listed, nor does it have a drive letter in Windows Explorer. For example, here's the location of my camera:

    Java Code:
    Computer\Canon PowerShot SD750\Removable storage
    How can I also list cameras/other devices that do not have a drive letter? I assume this will require a JNI library of some sort, but I don't know for sure obviously

    Thanks!

    P.S. Out of desperation, I did try to list the contents of Computer\; it didn't work of course.

    Edit: Just to make my question as clear as possible, I need to access storage devices that do not have a drive letter, but are listed in My Computer under "Portable Devices". This includes cameras, MP3 players, e-book readers, etc.
    Last edited by Jonah Bron; 07-01-2011 at 10:32 PM.

  2. #2
    Jonah Bron's Avatar
    Jonah Bron is offline Member
    Join Date
    Sep 2010
    Location
    California
    Posts
    26
    Rep Power
    0

    Default

    Bump___?__

  3. #3
    Jonah Bron's Avatar
    Jonah Bron is offline Member
    Join Date
    Sep 2010
    Location
    California
    Posts
    26
    Rep Power
    0

Similar Threads

  1. Replies: 8
    Last Post: 11-04-2011, 08:30 PM
  2. Replies: 2
    Last Post: 06-04-2011, 11:52 PM
  3. Replies: 2
    Last Post: 11-22-2009, 05:24 PM
  4. Replies: 3
    Last Post: 11-21-2009, 05:48 PM
  5. Plugged Editor 0.3.2
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-01-2007, 09:07 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •