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



Comment Added by : Utsav

Comment Added at : 2009-07-14 01:29:06

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

I am using the code files for sending SMS's using the COM port...
But, when I try and call the sendmessage() method from the file sender.java, it gives me an error that the port specified is already in use by some unknown windows application.

I tried to debug, and it takes me to the line portId.open in the file SerialConnection.java indicating that the port is being opened by the file..
I tried closing the port by reducing the time delay, but no use...

Please guide me in this as I understand that ur code works fine.....

Awaiting your reply.....

Utsav


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. This is an old method although it works. The bette
View Tutorial          By: Emiley at 2013-01-11 03:56:02

2. Great stuff, learned more from this example than r
View Tutorial          By: David Bandelin at 2011-03-22 07:10:38

3. The tutorial is simple and clear.
@Gnani, i

View Tutorial          By: Tayo at 2010-01-03 13:10:24

4. I went befly through this, it is woderful, usefull
View Tutorial          By: Mallikarjuna.N at 2009-11-28 11:41:58

5. Sir , I am doing B.Tech . I want to know more abou
View Tutorial          By: amita saini at 2011-08-05 13:07:35

6. Very good
View Tutorial          By: dizh at 2014-02-21 07:48:19

7. Si AIZA DIN< DI MARUNONG MAGTURO
View Tutorial          By: Agnes at 2010-06-25 22:34:29

8. i need the code
View Tutorial          By: C.Ajith Franklin at 2010-05-05 06:04:40

9. It works great,
my code looks like this:
View Tutorial          By: Anonymous at 2009-04-11 04:19:28

10. Thanks for this great tutorial... was looking for
View Tutorial          By: Shashi at 2012-09-20 11:35:08