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 a lot dude,my lecturer took 2 weeks to expl
View Tutorial          By: praveen malinga at 2010-02-25 07:53:01

2. thnks for the loop
View Tutorial          By: Benavidez,Jam at 2010-02-02 01:57:48

3. thanks a lot..please tell me how to implement this
View Tutorial          By: agnas at 2008-04-26 12:26:52

4. Your explanation is good and okay but, it will be
View Tutorial          By: Emmanuel at 2009-05-28 02:45:11

5. Great Sample, it helped me alot

Tha

View Tutorial          By: Mike at 2010-03-02 04:39:57

6. Thank you I have understood the flow now.
<

View Tutorial          By: Shyam at 2012-05-17 13:14:40

7. required the flag set loop stutruce .............
View Tutorial          By: savita at 2013-05-12 04:52:30

8. but need in the case of radio buttons
View Tutorial          By: vishnu at 2011-07-21 11:39:26

9. It's good working very well...............
View Tutorial          By: avinash at 2013-03-07 09:38:21

10. I take it English is not your 'hardcore', because
View Tutorial          By: Fred at 2013-01-17 14:49:09