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



Comment Added by : swathi

Comment Added at : 2010-06-24 05:18:28

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
swathi


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. Thanks for this tutorial . This provides me lots
View Tutorial          By: Pranit at 2011-07-25 09:12:29

2. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02

3. good article that help us
View Tutorial          By: D.md.Rafi at 2013-04-28 02:30:18

4. great job
i seriously feel that this site i

View Tutorial          By: saurabh at 2012-01-17 05:28:32

5. Hii.... We are B.Tech 4th year students. We are wo
View Tutorial          By: Shipra Malik at 2010-08-17 03:32:34

6. i am new to SMS, i think i need a device too. Whic
View Tutorial          By: Usman at 2015-10-05 12:06:34

7. great work
View Tutorial          By: Dinesh557 at 2008-09-25 00:27:59

8. Thank you for the tutorial. I want to create a cat
View Tutorial          By: Lue at 2012-07-09 10:40:08

9. haiiiiiiiii sir , i have error in this program, er
View Tutorial          By: Vinod at 2012-07-31 12:23:19

10. why the code had error in status???
View Tutorial          By: matuz at 2011-11-13 11:35:34