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. After a great struggle I am able to successfully c
View Tutorial          By: raghu at 2012-01-04 15:10:07

2. very good for programing
View Tutorial          By: kiran at 2007-12-06 00:39:47

3. Good one
View Tutorial          By: Ravi at 2007-11-19 03:30:40

4. This is really helpful, i'm planning to also add a
View Tutorial          By: JhunZhen at 2011-07-09 21:42:32

5. yes it is very gud but i have still a doubt that i
View Tutorial          By: Akheel at 2010-10-10 09:41:13

6. Suppose we are executing a try block and faced an
View Tutorial          By: Suindu De at 2015-10-08 10:56:56

7. Hi everybody.i m new to java.dont know how to deve
View Tutorial          By: saranya at 2011-01-31 22:40:17

8. It's very use full to me ....
Thans a lot..

View Tutorial          By: Raxit at 2011-12-30 03:57:03

9. Thanks, it solved my problem with "sun.securi
View Tutorial          By: haasdg at 2013-10-29 14:12:51

10. static concept was clearly explained with some exa
View Tutorial          By: Rajkumar s ,m.p.patti,rasipuram. at 2012-03-28 16:17:31