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



Ask a Question

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. sir can you write the sample proram of this:

View Tutorial          By: bryan labastida at 2011-06-29 02:53:14

2. Very nice article. Really liked the way it took me
View Tutorial          By: Sandeep at 2010-01-10 09:58:25

3. HI all i would like to send the result of " I
View Tutorial          By: FLORIAN at 2011-09-14 09:04:42

4. i can't understand the deadlock clearly
View Tutorial          By: kalpana at 2012-11-01 11:26:09

5. nice info 4me
View Tutorial          By: baru at 2015-07-24 08:52:03

6. I have initialized a int array while declaring.
View Tutorial          By: Prashanth at 2011-09-15 11:16:40

7. Hi ,

Since both the methods in the

View Tutorial          By: Chintan at 2013-11-21 03:42:32

8. can u please explain java scripts for menus.
View Tutorial          By: web designers in kerala at 2011-04-16 02:08:22

9. The Given Programms are not suitable for "How
View Tutorial          By: Rams at 2009-01-27 01:36:16

10. thanks for this tutorial! it's very useful
View Tutorial          By: Miguel at 2011-06-26 21:15:00