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. having errors in the programme
View Tutorial          By: dfdff at 2011-12-21 11:42:10

2. it's really Nice Clock
View Tutorial          By: Mido at 2007-09-09 08:45:49

3. M having query
i wat to create employee cla

View Tutorial          By: Dayasagar at 2010-05-22 16:18:17

4. help me pls example ng c++ program code using do
View Tutorial          By: diana bernardo at 2010-10-15 23:34:19

5. please give very easy program....this program is d
View Tutorial          By: rajesh at 2010-01-24 08:08:38

6. nice article..
View Tutorial          By: yummy at 2010-01-05 21:18:35

7. public void playSound(String filename) {

View Tutorial          By: Rowan at 2014-07-17 10:26:02

8. thank you :)
really helped... :)

View Tutorial          By: Tejas at 2011-03-22 14:17:46

9. gr8t man.....! i am satisfied with ur explanation
View Tutorial          By: raja deepa at 2011-07-05 13:44:21

10. hai,
i want to know how the connect

View Tutorial          By: V.Selvi at 2010-02-28 21:01:33