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



Comment Added by : aanube

Comment Added at : 2012-08-22 10:12:54

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Thanks for the code. The code runs fine without any error. But it didnt send any sms. Its giving out put as

Wed Aug 22 15:36:35 IST 2012:Ex.Sender:*** time out at step 2***

This is my main method.

public static void main(String[] args) {
int mode = 1;
SMSClient sc = new SMSClient(mode);
sc.sendMessage("MyMobileNo", "Hai");
}

Can anyone say where its going wrong. I m using airtel 3G modem. Whats the smsc no for that.

Thanks in advance.


View Tutorial



Ask a Question

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. Thanks and easy to understand.....impressive logic
View Tutorial          By: Dj at 2009-11-26 13:33:34

2. Can u plz send me woking application (Send sms) J
View Tutorial          By: Ritanshu Goel at 2012-09-22 05:52:49

3. i get this error too but i dont start the mysql se
View Tutorial          By: Head at 2009-02-27 00:47:43

4. Hey, this is a great explanation regarding the dif
View Tutorial          By: foam roofing at 2011-04-02 17:26:52

5. "For example, float can be useful when repres
View Tutorial          By: rangzen at 2014-03-28 09:31:47

6. hi Emiley J.,
i am geting this error while

View Tutorial          By: jugal at 2009-02-20 02:14:23

7. I am developing a system for paying electric bill
View Tutorial          By: Isaya at 2007-03-26 01:11:59

8. i am new to java programming plz please provide me
View Tutorial          By: Mahammad musthaq at 2012-05-31 14:02:10

9. Nice one for jsp learners.
View Tutorial          By: Vignesh at 2011-07-14 04:04:55

10. This is a cool tutorial ! :) But I think in this s
View Tutorial          By: ngocanh at 2013-07-11 02:33:06