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

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. thank you...
View Tutorial          By: Rojan at 2011-07-04 01:51:45

2. @Brian rename the file name to match the class nam
View Tutorial          By: QuangQUang at 2015-09-27 14:44:37

3. very nice notes we are easy to understand this not
View Tutorial          By: maalu at 2013-04-29 07:06:56

4. Thanks it really works good

View Tutorial          By: vipul at 2009-07-14 02:21:18

5. The code gives the following exception :-

View Tutorial          By: swetha at 2009-03-12 07:19:23

6. Many thanks for this tutorial. Exactly what I was
View Tutorial          By: Fedor Emelianenko at 2010-10-28 08:01:17

7. sr
thanks 4 information provided

View Tutorial          By: veer kumar at 2012-07-25 18:30:38

8. which Iden WebJal do i need to load up my music MI
View Tutorial          By: phil at 2007-10-18 17:51:19

9. Hi,
i executed this program successfully in

View Tutorial          By: Praveen at 2010-07-14 01:05:37

10. it's really amazing & very easy to understand
View Tutorial          By: Vaibhav Bhalerao at 2010-08-17 10:54:52