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. Hi,

As you shown here that we have

View Tutorial          By: Keyur at 2011-04-05 03:30:12

2. Can you Please send me the code for movable clock
View Tutorial          By: Rajagopal at 2008-09-29 23:10:57

3. Hi All,

This code is working fine i

View Tutorial          By: A.Balaji at 2010-09-27 04:40:38

4. Nice example. I think this is more idiomatic tho'.
View Tutorial          By: John Morrison at 2010-03-28 14:55:07

5. It is really very good good notes of Public versus
View Tutorial          By: Nitin Gavande at 2011-07-16 08:47:56

6. i am developing a video streaming pc server to j2m
View Tutorial          By: ziathegreat at 2009-05-19 13:19:15

7. Hi Paul,
It is a very interesting and help

View Tutorial          By: Therese at 2010-04-28 05:36:09

8. very useful article. every jsp resource will get g
View Tutorial          By: pechirani at 2011-06-29 04:00:49

9. thanks nice article , but there is bug as already
View Tutorial          By: YZ at 2011-08-05 13:10:49

10. How do I insert an image in a list? I am using Vis
View Tutorial          By: anu at 2010-04-16 03:07:00