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. this is i got error msg when i run a my program .
View Tutorial          By: anbu at 2009-04-08 02:41:17

2. In this code what should i add in place of "y
View Tutorial          By: manju at 2011-11-10 09:01:50

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

4. very useful...!
View Tutorial          By: mahesh at 2012-01-06 09:55:59

5. This is good for beginners.
View Tutorial          By: sathish at 2011-04-05 11:37:30

6. date span progarm sorce code in jsp by using strin
View Tutorial          By: prudhvi at 2013-01-27 13:55:09

7. Hi , I like ur explanation but I need to knw wat i
View Tutorial          By: prabhakara at 2010-09-22 06:28:13

8. package com.anand;

import java.sql.

View Tutorial          By: Anand at 2012-11-12 00:00:07

9. I am in search of the institute to appear for the
View Tutorial          By: Rahul at 2012-07-02 11:18:18

10. very good and very simple for beginers
View Tutorial          By: Biju Thomas at 2010-08-17 08:09:30