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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. What happens if applied to an integer array?
View Tutorial          By: SHUVO at 2015-07-01 21:14:16

2. can any body help me ??????????
i `he get a

View Tutorial          By: gkggt at 2013-02-11 12:09:04

3. import java.io.*;
class CharaaDemofromnet
View Tutorial          By: bond at 2014-08-16 17:02:10

4. hello everyone... I am getting the error "sms
View Tutorial          By: umar at 2010-12-19 04:20:33

5. why 27's example is prone to a deadlock ? when pro
View Tutorial          By: kaka at 2011-08-14 00:59:41

6. As C does not support Function Overloading, there
View Tutorial          By: N at 2013-03-06 00:27:14

7. how this program is work , please, tell
View Tutorial          By: rohit kumar at 2015-10-30 12:22:05

8. Out of -1, 0, and 1 which one can I use as second
View Tutorial          By: Sanjay Bhosale at 2011-12-06 13:17:54

9. what is differences between application scope and
View Tutorial          By: suresh at 2013-05-13 13:03:12

10. if(isset($_POST["check1"]=="1"
View Tutorial          By: krunal at 2012-11-22 10:30:19