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. plse can u send me study material or sample questi
View Tutorial          By: sneha at 2015-03-12 09:40:49

2. its cool, you've cleared me.
View Tutorial          By: zealous at 2013-09-10 17:40:26

3. @Jai Shankar K

I'm guessing you are

View Tutorial          By: Nick Scroggs at 2013-03-26 01:44:04

4. i get this error too.
: Parent: child proce

View Tutorial          By: Anon at 2009-02-25 08:30:58

5. @Harshita you cannot test the SMS and call feature
View Tutorial          By: Anonymous at 2013-03-28 01:32:47

6. /** Example shows garbage collector in action

View Tutorial          By: sreekar at 2010-05-08 07:58:09

7. im having errors in sPort.sendBreak in SerialConne
View Tutorial          By: mrrrc at 2013-03-18 08:54:50

8. wen i run i get dis error

jdbc:mysq

View Tutorial          By: sandeep at 2009-11-24 08:24:20

9. Whne i run this code ,it does not return any ports
View Tutorial          By: amit at 2009-06-10 02:11:13

10. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: Bharat at 2010-11-01 23:28:14