Results 1 to 3 of 3
  1. #1
    kievari is offline Member
    Join Date
    Nov 2009
    Posts
    28
    Rep Power
    0

    Default seek device connected to usb port

    Hi,

    For first time, I'm going to develop an Java program (based on Eclipse RCP) that seeks for a device connected to the usb port.

    I searched for it, hitting Sun Microsystems solutions but they seem old and there must be newer ways.

    Could you please lead me to the best place to start from? Any new lib to use, or good tutorials/forum threads you know is a good starting point?

    Thank you :D

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    It really depends on the approach you want to take. USB support is not part of the standard java distribution, but you have several options:

    - Pick a third party USB java package. JSR80 and jUSB are the two most popular. Read the documentation to see how to use the API to scan for the device

    - Write your own native code to do what you want and wrap it with JNI

    - Write your own native code to do what you want and interact with it using Runtime.exec

  3. #3
    kievari is offline Member
    Join Date
    Nov 2009
    Posts
    28
    Rep Power
    0

Similar Threads

  1. JMF: Cannot connect to device
    By jonsamwell in forum New To Java
    Replies: 2
    Last Post: 06-10-2011, 08:20 PM
  2. Shortest Seek-Time First with java.util.concurrent
    By SAiNT_JiMMiE in forum Threads and Synchronization
    Replies: 0
    Last Post: 05-11-2010, 11:18 AM
  3. pc is connected to internet ???
    By mahdi-farzami in forum Networking
    Replies: 1
    Last Post: 03-26-2010, 04:28 PM
  4. Replies: 0
    Last Post: 05-18-2008, 10:31 AM
  5. seek to mp3 file
    By po0oker in forum Advanced Java
    Replies: 1
    Last Post: 12-30-2007, 12:08 PM

Posting Permissions

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