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 bmunavar@gmail.com

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. excellent information is provided to you sir try t
View Tutorial          By: Raghav at 2007-12-16 05:03:53

2. Hi people,
for those getting the Time out

View Tutorial          By: Ramlak at 2008-05-08 08:28:29

3. i need java simple programs
View Tutorial          By: Tharani at 2010-01-22 06:39:25

4. @Vaibhavn if you use an IP instead of a host name
View Tutorial          By: RDMA at 2011-01-04 14:30:15

5. string strInsert = "Insert into [Sheet1$](F1,
View Tutorial          By: Sagar at 2011-05-12 06:47:13

6. thanks a lot fo the help offered.
View Tutorial          By: Douglas Olupotdolupot@cit.mak.ac.ug at 2012-10-31 05:37:04

7. Hi Braj,
You are probably using threads to

View Tutorial          By: Ramlak at 2009-01-29 20:03:14

8. Hi Jgan,
Its very useful ad nice article .

View Tutorial          By: pramod at 2012-01-16 13:21:35

9. Very nicely explained, especially the step-by-step
View Tutorial          By: Kaushik at 2012-09-20 04:14:21

10. Hi, I need the complete working code for sending a
View Tutorial          By: Balaji Srikaanth at 2007-03-10 01:22:35