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. hi friends thank you very much for the code but th
View Tutorial          By: Surya at 2008-06-13 07:06:07

2. hi.I am new in j2me and really want to learn more
View Tutorial          By: vinoth kumar. A at 2012-10-26 05:20:31

3. can we use if statment with swich,,,!!!
View Tutorial          By: dena at 2011-07-09 13:52:27

4. can i have sample of java programming that has dat
View Tutorial          By: piolo at 2009-05-31 18:53:25

5. thank you soo much .. itss realy helpful.... :)
View Tutorial          By: prakriti at 2011-12-03 16:47:11

6. hi this is from Ashok....
can you send the

View Tutorial          By: Ashok at 2015-04-16 11:51:51

7. what is the return type for clicker method? The pr
View Tutorial          By: Gautam at 2013-10-14 15:36:27

8. It too good code
View Tutorial          By: Srinivas at 2011-02-20 03:58:19

9. it's very usefull to the users who were in startin
View Tutorial          By: Harichandana at 2013-02-28 04:37:17

10. i am new to java, please send simple programs, and
View Tutorial          By: jegan at 2011-07-11 02:22:37