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



Comment Added by : shalini Iyer

Comment Added at : 2008-04-22 01:20:32

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi all, i have tried above code, but am getting following error


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(Unknown Source) 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(Unknown Source) Getting above error

but am in urgent need of working condition code , if u help me out ,

i'll be thankfull to you,

Regards
Shalini Iyer


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. A good Article..........

Thanks!!

View Tutorial          By: Pravesh at 2011-12-08 03:34:01

2. Article is good but really lacks somewhat clarity
View Tutorial          By: Ashwin Perti at 2009-09-14 04:02:39

3. very simple to understand
View Tutorial          By: chermaraja at 2010-05-26 00:00:05

4. its very helpful for us...and useful too.
View Tutorial          By: roy at 2011-06-15 15:32:22

5. Thanks Man , You are Genius i have been looking fo
View Tutorial          By: hamza Ouni at 2015-02-22 13:38:02

6. writa a java program to add two one-dimensional ar
View Tutorial          By: nibedita swain at 2011-08-22 15:23:37

7. I agree with #2 u are missing that line
View Tutorial          By: ויזה לארה"ב at 2011-10-26 10:39:50

8. hey what If I'm connecting to a server(XMPP in my
View Tutorial          By: garima at 2015-08-10 13:23:40

9. very nicely explained,
thank you

View Tutorial          By: Amin at 2010-04-14 09:40:30

10. Getting coding from this is very easy to me...
View Tutorial          By: shanmugaraja at 2009-09-09 01:50:02