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



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 so much it helped me God bless :)
View Tutorial          By: Judito at 2014-06-14 06:52:18

2. Why use recursion in Java, even for Strings? The s
View Tutorial          By: Kristoffer L at 2012-11-21 01:51:36

3. this s seems to be writing contents into a text fi
View Tutorial          By: Iswariya at 2010-02-11 02:59:51

4. I have altered the code as described (xml addition
View Tutorial          By: Spijker at 2015-10-14 12:27:47

5. Excellent example
View Tutorial          By: Dinesh Patil at 2012-06-19 08:30:48

6. Gives a syntax error
View Tutorial          By: Siddharth at 2015-06-10 05:15:00

7. Sir,
i am implementing the above code in w

View Tutorial          By: Rahul Singh at 2009-09-01 04:23:25

8. its very good , good example for beginners
View Tutorial          By: Rohit Mumbai at 2012-02-03 06:59:13

9. Use (JavaScript) below code to display client dat
View Tutorial          By: pmprash at 2009-12-22 01:15:33

10. Hello MR, I was running sms package to send sms, a
View Tutorial          By: Ronized at 2008-12-29 16:53:33