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



Ask a Question

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. can you provide the full class from start to begin
View Tutorial          By: mohit at 2011-12-01 09:56:22

2. i want to do a program by using convertView with e
View Tutorial          By: Shahana Akter at 2014-09-11 07:34:43

3. Please don't use DataInputStream to read text. Unf
View Tutorial          By: Peter Lawrey at 2013-01-30 23:46:47

4. I executed your code but i get the error "OK
View Tutorial          By: Denzil at 2013-01-18 09:33:37

5. hi any one can send me the code for HTTPclient pro
View Tutorial          By: indela at 2011-06-13 08:41:12

6. Hi All,

Can any one please let me k

View Tutorial          By: Deepak at 2015-03-19 15:24:40

7. i find out this example quite heplful thnx adimn..
View Tutorial          By: ayaz pathan ( MUET) at 2010-02-21 10:40:18

8. Hi. When i click on Install certificate. It tells
View Tutorial          By: jaris at 2011-10-18 11:00:41

9. Awesome tutorial
View Tutorial          By: Anonymous at 2012-12-13 06:50:36

10. No use of this example.
I was searching oth

View Tutorial          By: Karan at 2010-04-10 05:41:47