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



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. Thanks a lot for this nice tutorial, it is very he
View Tutorial          By: Ted at 2014-02-07 12:50:24

2. When i run the program,Iam getting this

View Tutorial          By: anitha at 2008-12-17 21:37:36

3. I Want more Advanced Case Shown...
I Know E

View Tutorial          By: Electron at 2009-11-23 02:32:07

4. Your program contains only data retrieval command.
View Tutorial          By: Govindarajan at 2012-02-08 01:02:01

5. Thanks.It is very helpful
View Tutorial          By: JENI at 2013-03-23 11:01:58

6. Hi ,

Since both the methods in the

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

7. Yes Left shift result is wrong its like
5

View Tutorial          By: Ragunath k at 2010-05-10 04:45:33

8. There are so many posts about the same problem (i
View Tutorial          By: Matt at 2010-04-30 09:52:16

9. Where to use the return type int and how it is use
View Tutorial          By: sohm chakraborty at 2015-07-01 06:52:15

10. Hi, this was useful. how can integrate j2me progra
View Tutorial          By: karthik at 2013-01-23 10:02:02