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 everybody,
cn u plz mail me the working

View Tutorial          By: Srijita at 2011-11-28 06:10:03

2. Very good. Excellent examples and easy to understa
View Tutorial          By: Fernando Basso at 2012-09-30 22:17:56

3. This is very good article.
View Tutorial          By: Vipin Joshi at 2008-03-27 13:53:26

4. please give me more information
View Tutorial          By: nandhini at 2012-09-22 03:49:11

5. May be someone would find this useful.


View Tutorial          By: Vsk at 2010-02-22 00:48:42

6. Nice Example...!
View Tutorial          By: Kuldeep Singh at 2009-10-18 23:58:17

7. Simple and to the point. Thanks for this tutorial.
View Tutorial          By: Balvinder at 2008-08-03 04:40:05

8. hi! im new in j2me applications so i just cleaned
View Tutorial          By: resego at 2010-08-04 07:29:29

9. Dear All...................,
I have run the

View Tutorial          By: Ashraf Abu Aisheh at 2008-12-01 13:52:42

10. Please provide some more examples ...It will be ve
View Tutorial          By: it interview questions at 2012-09-29 05:07:55