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
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
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
MultiLevel Inheritance sample in Java
Archived Comments
1. Thanks a ton. Was struggling to get the ListView u
View Tutorial By: Avinash at 2012-09-25 12:25:12
2. Nice Explanation
View Tutorial By: sam at 2010-11-24 02:23:57
3. This is really helpful, i'm planning to also add a
View Tutorial By: JhunZhen at 2011-07-09 21:42:32
4. hey thats a superb way of explaining in plain term
View Tutorial By: Agastya at 2011-05-08 03:11:53
5. Thanks it worked. Just remember to restart apache
View Tutorial By: Raj at 2014-02-08 08:42:26
6. hi...i want a code to send sms from GSM to PC.
View Tutorial By: siri at 2011-12-19 07:39:02
7. This is very useful example for beginners.
View Tutorial By: Amresh at 2011-02-28 22:20:11
8. very simple explanation......
easily unders
View Tutorial By: saurabh at 2009-04-17 16:02:30
9. quite helpful
View Tutorial By: kezyRoan at 2011-06-11 03:58:52
10. how do i write the above same code using ajax and
View Tutorial By: Karthik at 2011-08-29 11:21:45