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



Comment Added by : sruthi

Comment Added at : 2013-01-20 10:37:41

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
OK 0
COM1
[email protected]
OK 1
OK 2
OK 3
OK 4
OK 5
modem connected
Sun Jan 20 16:04:20 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:20 IST 2013:Sender:Step:0
>'at
' sent
Sun Jan 20 16:04:20 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:20 IST 2013:Sender:Step:1
>'at+cmgf=1
' sent
Sun Jan 20 16:04:20 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:20 IST 2013:Sender:Step:2
Sun Jan 20 16:04:20 IST 2013:Sender:received ok =-1
Sun Jan 20 16:04:20 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:20 IST 2013:Sender:Step:2
Sun Jan 20 16:04:20 IST 2013:Sender:received ok =-1
Sun Jan 20 16:04:21 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:21 IST 2013:Sender:Step:2
Sun Jan 20 16:04:21 IST 2013:Sender:received ok =-1
Sun Jan 20 16:04:21 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:21 IST 2013:Sender:Step:2
Sun Jan 20 16:04:21 IST 2013:Sender:received ok =-1
Sun Jan 20 16:04:21 IST 2013:Sender:<-
--------
Sun Jan 20 16:04:21 IST 2013:Sender:Step:2
Sun Jan 20 16:04:21 IST 2013:Sender:received ok =-1
Sun Jan 20 16:04:21 IST 2013:Sender:*** time out at step 2***



Actually when i am running this code it is getting the output like this......Actually i connected my Nokia c1-01 phone instead of GSM modem through hyper terminal i am able to send the SMS but when you program was used an out above obtained...please help me sir
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. super explanation
View Tutorial          By: pree at 2013-12-30 16:41:32

2. how to use tokenizer "No.1 hello,No.2 world,N
View Tutorial          By: saanu at 2011-03-04 00:41:21

3. Thanks..
It is so easy to understand...

View Tutorial          By: Rahul Meshram at 2008-09-11 13:18:41

4. I get an error " javax.mail" does not ex
View Tutorial          By: bhavin at 2009-02-03 05:50:08

5. How can i use this code to send multiple sms using
View Tutorial          By: Shoaib at 2014-03-07 19:49:11

6. Awsome...Example...
View Tutorial          By: sitakanta at 2011-12-05 12:22:03

7. In listing 6.2 I don't see the variable name itsAg
View Tutorial          By: JC at 2013-04-16 01:49:52

8. Hiii....i am using windows 8..jdk1.7.51 and netbea
View Tutorial          By: Pravin Kamble at 2014-05-03 07:00:12

9. hi sir
im a student of aitm im doing speec

View Tutorial          By: sinan ahmed at 2015-02-09 05:45:49

10. @3
argc simply means the argument count.
View Tutorial          By: CDub at 2010-02-22 09:32:54