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. it is good
View Tutorial          By: kamal at 2009-11-01 19:58:54

2. thank's for the info.. i've learned a lot.. now, i
View Tutorial          By: farah talabo at 2012-01-08 23:55:14

3. I've been satisfied with your tutorial site. Since
View Tutorial          By: Mark Harold F. Manguino at 2008-08-06 05:00:54

4. please would someone help me create a simple java
View Tutorial          By: christopher at 2012-12-05 00:32:50

5. i want to know when we're importing a package , w
View Tutorial          By: bilal ahmad at 2013-02-14 14:11:24

6. i got really nice help from the code. Thanks.
View Tutorial          By: Amit at 2009-04-10 08:18:40

7. Thanks....
View Tutorial          By: A.V. Bajaj at 2012-06-02 09:40:16

8. where i can find Messageressourse.properties......
View Tutorial          By: sanjiv at 2013-09-07 06:59:19

9. Hi Shweta, Thanks for pointing the typo error in t
View Tutorial          By: Jagan at 2008-07-12 21:36:46

10. Thank you very much sir.
One can simply exe

View Tutorial          By: rudhin at 2013-05-10 12:32:57