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. what will be the answer of this?
int y=10;<

View Tutorial          By: divye at 2015-03-20 09:05:46

2. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

3. Great one on java-xml binding..
View Tutorial          By: Ranadeep Roy at 2008-07-03 23:15:22

4. How can i use this code to send multiple sms using
View Tutorial          By: Shoaib at 2014-03-07 19:49:11

5. To handle multiple submit buttons you can use stan
View Tutorial          By: Vic at 2008-12-23 12:03:43

6. Good,

Thank you man.

View Tutorial          By: Goldo at 2010-07-12 14:56:14

7. while i am executing this program i am getting Nul
View Tutorial          By: Seema at 2013-11-26 18:39:15

8. Nice article. Really helpful in understanding the
View Tutorial          By: Sundar at 2011-12-18 11:15:07

9. hayz.
it soo hard to program,
but be

View Tutorial          By: bamz at 2008-09-22 20:31:23

10. good job.thanks
View Tutorial          By: bistrita at 2010-09-09 09:33:31