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



Comment Added by : Rohit

Comment Added at : 2011-04-19 11:07:59

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I am executing this code using NetBeans6.9 and getting an exception :
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at sms990.Connection.openConnection(Connection.java:82)
at sms990.Sender.send(Sender.java:50)
at sms990.Client.run(Client.java:45)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at sms990.Connection.openConnection(Connection.java:99)
at sms990.Sender.send(Sender.java:50)
at sms990.Client.run(Client.java:45)
at java.lang.Thread.run(Thread.java:619)


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. can u tell me mobile tracker code in j2me
w

View Tutorial          By: aiyaz at 2010-08-21 16:29:08

2. Hi Everyone, i tried the code. im using this code.
View Tutorial          By: sourabh at 2011-09-09 12:42:02

3. Thanks sir
View Tutorial          By: sivaraj at 2013-01-23 05:43:35

4. good......
View Tutorial          By: Sudip Khatiwara at 2010-04-05 22:31:06

5. Great!! Many thanks!
View Tutorial          By: Louis at 2013-06-01 23:16:41

6. I will try
View Tutorial          By: bridges at 2009-09-06 22:09:46

7. Hi Ramlak
I am trying to run your code.

View Tutorial          By: jainitya at 2011-05-04 12:26:16

8. Nice one
View Tutorial          By: Kalpana at 2009-11-17 02:04:14

9. Well written article! Thank You ! My maven build i
View Tutorial          By: Nagesh at 2014-11-20 07:44:00

10. i am very much pleased in this type of tutorial
View Tutorial          By: arup adhikari at 2009-07-10 08:00:24