Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Munavar

Comment Added at : 2008-01-27 22:53:31

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi All,

This SMS code is working fine, but the major problem is it gets timeout at step 2.

And no way the message is received by the phone.

I am trying to connect a Samsung device to my system using USB cable, and i have set the port no and csca no after contacting to Airtel guys for the smsc no and the same no i have specified there.

In the implementation code i have specified the following code

SMSClient sc = new SMSClient(1); sc.sendMessage("MyCellNo","Hello")

here in the place of "MyCellNo" - i have specified the phone no to which the message has to be sent.

can you please let me know wht is the solution for this problem.

please mail me the code to the following mail id [email protected]

The implemented code is as follows


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. I'm sorry but your closing statement...

View Tutorial          By: Al Scherer at 2009-09-15 09:33:24

2. Plz. help me in getting code to read messages usin
View Tutorial          By: Jaydatta at 2009-04-03 20:58:57

3. can any body help me how to execute this code ....
View Tutorial          By: nikhil at 2009-06-04 23:10:30

4. @All

You need to first keep your .w

View Tutorial          By: Nithya at 2011-08-31 02:27:48

5. I writing a main class in the eclipse IDE and call
View Tutorial          By: adam lim at 2013-03-11 04:13:51

6. How make comunication between client and server, s
View Tutorial          By: alex at 2009-01-30 07:12:49

7. /*Overridding & equals:--> Overriding is an
View Tutorial          By: Naveen Kumar at 2011-04-30 18:44:55

8. The code to show recursion is ok, but the declara
View Tutorial          By: Gaurav at 2010-08-08 01:08:27

9. I want to ask you a question...
I test the

View Tutorial          By: sara at 2009-05-15 13:16:54

10. it very usefull to introduse the j2me to me

View Tutorial          By: Sudhir at 2011-08-31 13:05:40