Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.
Comment Added by : Dc
Comment Added at : 2012-06-07 04:08:19
Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
its giving exception
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java: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:662)
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:662)
How to rectify it ??
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
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. feel happy but i want to database tables also
View Tutorial By: sisira at 2013-06-05 13:26:51
2. Nice Intro .......
View Tutorial By: MohanRaja at 2012-06-28 11:02:40
3. So I followed you steps with no compile errors. W
View Tutorial By: PointLookoutResident at 2014-10-14 19:01:11
4. Like every other Java recursion example, this exam
View Tutorial By: Uriah at 2010-05-08 18:59:16
5. I want to use concept of overriding and i want to
View Tutorial By: Aniket at 2013-06-20 10:23:10
6. Nice and easy to understand......Thanks for same
View Tutorial By: vikas at 2011-07-21 07:44:30
7. Please let me know the SMSConnector number of any
View Tutorial By: Chandra Shekhar at 2009-04-01 00:21:54
8. prog was understandable wat u gave there,but it no
View Tutorial By: sailaja at 2009-07-03 02:53:20
9. can anyone tell how to send sms in asp.net using p
View Tutorial By: dubail at 2013-04-06 14:17:44
10. pls send to me comm.jar file , its not in sun si
View Tutorial By: sanjeewa at 2010-04-18 23:17:37