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. The one more best way is

public cl

View Tutorial          By: Palla Subramanyam at 2012-01-25 20:18:03

2. Thank for your clear explanation
View Tutorial          By: htnga at 2009-04-05 18:43:25

3. Thanks for the article. I finally finish my task a
View Tutorial          By: bali web at 2012-07-10 13:47:49

4. I have a sample code in which,

obje

View Tutorial          By: Tan Mi at 2011-10-25 23:24:10

5. Hello, your post helped me a lot with solving my o
View Tutorial          By: Florian Brunner at 2008-06-26 08:59:42

6. better..................
implements........

View Tutorial          By: sunny at 2012-01-04 17:30:12

7. The code sample in this tutorial is good. It would
View Tutorial          By: Anon at 2009-06-05 03:36:59

8. Getting Invalid IPv4 format J2me Midp 2.0, Asp.net
View Tutorial          By: Anup at 2013-01-02 05:11:51

9. Thanks a lot this thing was very importent for me!
View Tutorial          By: Andrew at 2010-05-23 01:47:04

10. Very good explanation but i need to know how the c
View Tutorial          By: surender at 2011-11-17 11:15:22