Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Munavar

Comment Added at : 2008-01-27 22:53:31

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi All,

This SMS code is working fine, but the major problem is it gets timeout at step 2.

And no way the message is received by the phone.

I am trying to connect a Samsung device to my system using USB cable, and i have set the port no and csca no after contacting to Airtel guys for the smsc no and the same no i have specified there.

In the implementation code i have specified the following code

SMSClient sc = new SMSClient(1); sc.sendMessage("MyCellNo","Hello")

here in the place of "MyCellNo" - i have specified the phone no to which the message has to be sent.

can you please let me know wht is the solution for this problem.

please mail me the code to the following mail id [email protected]

The implemented code is as follows


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. Your article is very useful.

But I

View Tutorial          By: Me at 2013-04-07 10:20:00

2. This Tutorial Rocks!kip it up
View Tutorial          By: Chuck Chalc at 2010-04-22 02:44:11

3. i should say, a lot of thank you because of this s
View Tutorial          By: merven at 2009-03-17 09:45:39

4. Hi all
I connected my mobile wi

View Tutorial          By: sruthy at 2010-07-07 03:44:27

5. Thanks...
View Tutorial          By: SHUVO at 2015-07-01 21:20:47

6. hi .the program does run thank you for that ,i nee
View Tutorial          By: mazen at 2008-09-09 04:55:16

7. Puedes enviarme ese codigo, ando embolatado
View Tutorial          By: Wilson at 2011-10-26 22:45:38

8. Thanks for the code. The code runs fine without an
View Tutorial          By: aanube at 2012-08-22 10:12:54

9. When JVM find two string object with de same conte
View Tutorial          By: ku at 2009-05-11 10:17:51

10. Hey guys it's working. If not then remove p.waitFo
View Tutorial          By: dileep at 2013-01-04 19:51:38