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



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. Hey there, I was needing something exactly like th
View Tutorial          By: Jeffry at 2013-03-26 03:33:27

2. Hi!
I would like to send a string from a j2

View Tutorial          By: beetlebrain at 2010-03-26 06:02:00

3. Thanks for make me understand about the keyword St
View Tutorial          By: Soumya at 2012-09-18 03:30:01

4. Hi sir,
please send some sample code for sp

View Tutorial          By: Kruttika at 2015-07-07 05:14:14

5. To 25
void *memset( void *buffer, int ch, s

View Tutorial          By: Doniv at 2011-12-15 10:10:52

6. Hay can you send me complete code to make connecti
View Tutorial          By: 9COOL at 2010-02-22 08:10:47

7. thnx for the nice tutorial. but i need to create a
View Tutorial          By: sharath at 2013-09-07 16:29:19

8. thanku this is very good example
View Tutorial          By: priyanka at 2012-10-02 13:08:49

9. Thanks for the solution. I must say however that t
View Tutorial          By: Pierre at 2009-11-19 20:16:35

10. Hallo.

And if the certificate is se

View Tutorial          By: Mario at 2009-11-11 08:42:46