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. It is really very gud. And wht i suggest u is if
View Tutorial          By: Ragava rao at 2008-07-19 05:33:18

2. i appreciate the article for being straight to the
View Tutorial          By: shey-poun at 2011-12-14 06:39:51

3. hi
i try to write a code for send data or s

View Tutorial          By: mjh at 2011-02-16 08:26:10

4. this is good, but i need a simple program about sh
View Tutorial          By: ramalakshmi at 2011-01-05 03:38:26

5. 3 - To build features that realize the control ele
View Tutorial          By: kosovari at 2012-01-30 13:52:54

6. hey guys the talk waz about main
hey man w

View Tutorial          By: shivam at 2011-07-09 11:45:54

7. hi.....
if we have number of fieldsl ike na

View Tutorial          By: shailesh at 2011-12-15 07:10:34

8. I want to send a message using mobile browser to s
View Tutorial          By: Richa Bhatia at 2009-12-08 22:33:36

9. how to set the report for particularn form feilds
View Tutorial          By: mathivanan at 2012-09-21 00:05:07

10. It is simple and clear.. Thnx.
View Tutorial          By: kiru at 2010-04-06 01:48:04