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. how to run the sms sending program
wether v

View Tutorial          By: ram at 2008-02-26 22:30:13

2. import gnu.io.*;
import java.io.*;
<

View Tutorial          By: Anonymous at 2013-03-29 02:39:00

3. Very Great thanks for the code
View Tutorial          By: Alvin Funelas at 2014-07-12 00:42:01

4. The above codes is working for me~
yeah, wh

View Tutorial          By: rejectee at 2009-10-23 22:14:25

5. Simplified explanation with perfect Examples
View Tutorial          By: Sushant Chaudhary at 2010-07-12 00:32:18

6. the thirst of knowledge getting quenched..
View Tutorial          By: Mohnish Vidyarthi at 2013-10-04 18:12:29

7. Awesome One....... Thanx...... m new to java...and
View Tutorial          By: jayanta at 2010-02-05 04:35:34

8. A phone is considered a good phone if all of the f
View Tutorial          By: harish at 2012-12-24 06:59:04

9. its good and well performance
View Tutorial          By: siva.c at 2014-09-02 08:18:19

10. nice help
View Tutorial          By: Akbar at 2014-06-11 12:44:23