Results 1 to 6 of 6
  1. #1
    newbiejava is offline Senior Member
    Join Date
    Jan 2010
    Posts
    138
    Rep Power
    0

    Question How to get number of available COM Port and how to list them?

    Dear the Expert,

    How to get number of available COM Port and how to list them?

    Thanks & Regards

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,526
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by newbiejava View Post
    Dear the Expert,

    How to get number of available COM Port and how to list them?

    Thanks & Regards
    You need Sun's Javax Comm package for that (serial port support) or even better, a public domain clone: RXTX (it's even better than Sun's version and runs on Windows machines). Google is your friend here.

    kind regards,

    Jos

  3. #3
    newbiejava is offline Senior Member
    Join Date
    Jan 2010
    Posts
    138
    Rep Power
    0

    Default

    is it available for Windows and Linux machine?

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by newbiejava View Post
    is it available for Windows and Linux machine?
    I could take a guess, but for my money, I'd go to the site(s) and check out what they had to say.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,526
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by newbiejava View Post
    is it available for Windows and Linux machine?
    Yes, RXTX is available for MS Windows and Linux, the Sun package is not (officially) available for MS Windows anymore. As I wrote before: Google is your friend.

    kind regards,

    Jos

  6. #6
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    368
    Rep Power
    5

    Default

    Hi newbiejava,

    Next time before you post question,
    please try using Search on this forum,
    because if question is very common
    it is likely that someone has answered it already.

    So click that Search link, go advanced
    and look for "serial port" it thread's titles.

    You will find thread that has "serial port" in it title
    and file attached - that is help I have posted on this topic in
    comm_api.doc.zip file

    good luck !

Similar Threads

  1. Replies: 4
    Last Post: 03-16-2012, 11:40 AM
  2. Printing the Number of Times a Number in a Range Shows up
    By space4rent00 in forum New To Java
    Replies: 1
    Last Post: 02-05-2010, 10:42 PM
  3. Replies: 7
    Last Post: 11-25-2009, 11:34 PM
  4. Replies: 6
    Last Post: 04-13-2009, 04:19 AM
  5. Menu on phone number option of a list
    By Poonam in forum CLDC and MIDP
    Replies: 7
    Last Post: 01-31-2008, 01:42 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
  •