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



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. @ parul : check whether your are passing class fil
View Tutorial          By: heramb at 2012-03-28 07:15:21

2. realy very nice artical it give good understable
View Tutorial          By: vivek at 2009-06-19 01:27:46

3. Sir, can you give me an example of Isalnum in java
View Tutorial          By: Angeline at 2011-07-13 06:43:54

4. can you send me comm.jar required for this project
View Tutorial          By: rahul at 2012-10-20 12:21:42

5. Thanks a lot for valuable program.


View Tutorial          By: Kailash at 2012-07-30 10:09:12

6. why have you change first name oak to java ?
View Tutorial          By: manohar patil at 2014-08-20 03:44:23

7. Awesome............
View Tutorial          By: Amol at 2011-06-11 05:32:49

8. i want divide the jsf page to two pages
pl

View Tutorial          By: habib_fci at 2008-06-11 06:05:29

9. had the sample problem.. java.io.IOException: HTTP
View Tutorial          By: java at 2012-08-22 09:39:57

10. Easy to understand.......
View Tutorial          By: Priya at 2013-02-15 10:55:52