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



Comment Added by : Raviteja

Comment Added at : 2014-06-23 12:46:06

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I am geting following exception
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at com.sms.source.SerialConnection.openConnection(SerialConnection.java:75)
at com.sms.source.Sender.send(Sender.java:40)
at com.sms.source.SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sms.source.SerialConnection.openConnection(SerialConnection.java:92)
at com.sms.source.Sender.send(Sender.java:40)
at com.sms.source.SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Unknown Source)..

I just wanted to know that can we run this code in LAN network ...


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. it should be:
/* --------------- */

View Tutorial          By: Ryba at 2010-05-19 15:45:48

2. great explaination !!!
View Tutorial          By: aman at 2012-10-02 06:55:55

3. I tried this with HttpUnit (using the custom Hostn
View Tutorial          By: Michael Gower at 2012-01-04 17:40:00

4. That's a very nice and simple article,
Tha

View Tutorial          By: Mohsen at 2009-10-11 03:07:18

5. thanks ....
View Tutorial          By: shiva at 2011-02-28 11:16:32

6. I am deveolper in envision .i am interested in scj
View Tutorial          By: shiva kumar at 2013-02-20 05:51:42

7. thanks to this site which get me understand about
View Tutorial          By: Sayak at 2012-10-08 15:57:25

8. Great!!!!!!!!!!!!!!!!!!!!
View Tutorial          By: Raghbendra Nayak at 2012-03-28 12:54:35

9. wonderful
simplified description
ke

View Tutorial          By: ephrem at 2010-01-14 06:12:05

10. C++ is more than nyc & fun, de most interestin
View Tutorial          By: Themba at 2010-09-12 09:11:04