Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Ramlak

Comment Added at : 2011-01-14 21:59:39

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi Rushabh, this only means that your port is not available are used by other application.

Use this code to check if that COM port is available..

private static boolean isPortAvailable(int port) {

try {

ServerSocket srv = new ServerSocket(port);

srv.close();
srv = null;
return true;

} catch (IOException e) {
return false;
}
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. The tutorial, it's very easy to be understood

View Tutorial          By: newcomer at 2012-04-25 03:49:35

2. Hi.

Mi question is more simple. I w

View Tutorial          By: David at 2010-10-03 04:59:09

3.
View Tutorial          By: pmprash at 2009-12-22 01:15:33

4. Hi , I like ur explanation but I need to knw wat i
View Tutorial          By: prabhakara at 2010-09-22 06:28:13

5. hi i m vinit jain. i m working on the same project
View Tutorial          By: vinit jain at 2010-02-09 12:16:01

6. Nice Explanation
View Tutorial          By: sam at 2010-11-24 02:23:57

7. Verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
View Tutorial          By: Amarnath.A at 2011-07-14 00:32:08

8. Simple file writer example. .............
<

View Tutorial          By: Chezhian TK at 2010-10-14 21:40:16

9. I want inserted switch statement in my program,
View Tutorial          By: shah at 2011-02-07 01:11:12

10. You only need 1 main method per application, not 1
View Tutorial          By: Michael at 2011-09-02 02:37:51