Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.
Comment Added by : shrinivas
Comment Added at : 2009-03-07 23:16:51
Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
at
OK
at+cmff=1
OK
at+cmgf="+919422099997"
OK
at+cmgs="+919422190077"
>How are you?->
+CMGS: 185
OK
i have tried above code using hyper terminal and a message from my mobile is going to no. +919422190077
that means my connection with the computer is perfect.
but when i am trying to send msg through code it is giving me error
C:\>cd C:\j2sdk1.4.2\bin
C:\j2sdk1.4.2\bin>java shri
Caught java.lang.ClassNotFoundException: com.WinDriver while loading driver com.
WinDriver
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.ja
va:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:536)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:536)
if anyone can know where i am going wrong.
please reply me at [email protected]
OR
[email protected]
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. pls tell me how to run the prog step by step. just
View Tutorial By: divakar varshney at 2015-04-02 11:14:34
2. What is the \ in several of the string building st
View Tutorial By: rogerb at 2012-01-28 23:07:31
3. Hi,
I need to put in a picturebox on VB .NE
View Tutorial By: Marcio Rodrigues at 2009-11-27 05:07:09
4. Can anybody help me to send the code for email sen
View Tutorial By: satendra at 2010-03-23 02:46:18
5. I running this on localhost offline and getting er
View Tutorial By: nitisha at 2011-05-14 09:18:16
6. Hi,
I am designing a client server multipla
View Tutorial By: Varun Gupta at 2012-10-15 00:01:57
7. This is a great idea if I am targeting the require
View Tutorial By: Shanthamurthy Hanumantharayappa at 2015-09-14 16:45:22
8. great tutorial but for me blob handling is still s
View Tutorial By: Sarcina Saptamani at 2011-11-10 09:15:07
9. its really helpfull to understand.
View Tutorial By: rakhi at 2010-08-08 12:45:05
10. thanx it i very helpful 4 me as i m new with java
View Tutorial By: akminder at 2011-08-09 05:09:19