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. This is the coding that I wanted...
This is

View Tutorial          By: Damith at 2012-05-16 17:26:10

2. it help me lot 2 understand what is struts-config
View Tutorial          By: Amit Tomar at 2010-11-27 09:27:15

3. Hi,first of all thats for this code developer, its
View Tutorial          By: Kathir at 2008-02-08 06:16:51

4. Really Good........!
View Tutorial          By: Anonymous at 2009-04-01 22:33:19

5. Hi Rajita, in accordance to our 'Privacy Policy' w
View Tutorial          By: webmaster at 2008-03-25 18:49:39

6. can you clearly reveal how to create crystal repor
View Tutorial          By: halim at 2011-07-02 00:28:48

7. @mahesh yes you can use this to connect to any db
View Tutorial          By: Rita sen at 2012-01-05 05:18:13

8. works like a charm, though i didn't understand why
View Tutorial          By: primus at 2010-05-19 04:46:18

9. I could not understand, anyone having an easier ex
View Tutorial          By: aatish at 2011-09-14 09:52:28

10. Hey guys it's working. If not then remove p.waitFo
View Tutorial          By: dileep at 2013-01-04 19:51:38