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



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. Its awesome
View Tutorial          By: Ranjitha at 2012-08-02 10:21:59

2. thnx, 4 ur explanation, that was usefl
but

View Tutorial          By: some1 at 2009-04-28 03:26:28

3. can anybode tell me how can i make my own bluetoot
View Tutorial          By: Prasenjit at 2013-10-11 06:57:13

4. I want to use the same code in c++,
Can a

View Tutorial          By: vijay at 2009-09-26 00:47:02

5. Thanks, this is exactly i am looking for. I need t
View Tutorial          By: Ankita at 2009-11-15 19:41:16

6. int m,m2,n,n2;
for( m=0 , m2=0 ; m<

View Tutorial          By: muhammad abdullah at 2012-10-11 05:27:02

7. Nice Article....
View Tutorial          By: Vipin Joshi at 2008-04-13 15:35:42

8. while i am executing this program i am getting Nul
View Tutorial          By: Seema at 2013-11-26 18:39:15

9. i want to say only one thing

great

View Tutorial          By: ashish at 2009-06-09 21:36:45

10. Excellent site.
View Tutorial          By: anonymous at 2011-11-06 12:07:14