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



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. Nice Example...!
View Tutorial          By: Kuldeep Singh at 2009-10-18 23:58:17

2. Please send the complete code.. thanks!
View Tutorial          By: Roger22 at 2010-03-11 00:41:07

3. good tutorial for beginners..........
View Tutorial          By: Madarapu naveen at 2011-06-18 11:19:50

4. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: Thennarasu at 2011-05-20 02:30:28

5. this site is very useful to the freshers ...

View Tutorial          By: sweth at 2009-09-02 18:53:46

6. Well explained. Example clear out the diff
View Tutorial          By: sonam at 2014-06-25 19:05:20

7. I executed this program with the help of below cod
View Tutorial          By: leela at 2011-09-08 12:16:24

8. This example of function overloading is easy for U
View Tutorial          By: Pranay Gaikwad at 2012-10-30 14:02:15

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

10. werst program out put nt comming
View Tutorial          By: anu at 2012-08-02 13:09:00