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



Comment Added by : Vikram Subbiah

Comment Added at : 2010-04-12 02:09:36

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
The following exception are raised in send sms in java application..can u help me to slove this problem?..

Thank you..

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SMS.SerialConnection.openConnection(SerialConnection.java:87)
at SMS.Sender.send(Sender.java:55)
at SMS.SMSClient.run(SMSClient.java:50)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at SMS.SerialConnection.openConnection(SerialConnection.java:104)
at SMS.Sender.send(Sender.java:55)
at SMS.SMSClient.run(SMSClient.java:50)
at java.lang.Thread.run(Thread.java:619)


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. i can write much easy program than this its more c
View Tutorial          By: nand kishor singh at 2010-08-10 12:24:22

2. Thanks for providing that....
View Tutorial          By: Jothimanickam.M at 2013-04-06 07:35:38

3. Hi all, i have tried above code, but am getting fo
View Tutorial          By: shalini Iyer at 2008-04-22 01:20:32

4. click the line which is shown in this site:

View Tutorial          By: hi to get 5 files at 2010-09-22 03:10:36

5. I like your explanition its very uesfull
View Tutorial          By: Salah Mohamed at 2011-12-10 15:47:27

6. can u give me the example simulation of strcat??
View Tutorial          By: farah at 2009-10-05 01:10:02

7. hello!!can anyone help me. can you send me the com
View Tutorial          By: denisse at 2008-01-07 05:40:25

8. tnx, nice code...
View Tutorial          By: Hansoc at 2009-08-18 00:17:58

9. HI.....

javax.comm.NoSuchPortExcept

View Tutorial          By: RAHUL at 2010-12-28 22:59:41

10. The example given here are simple and easy to run
View Tutorial          By: Kranti at 2012-04-26 10:18:34