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



Comment Added by : divya

Comment Added at : 2008-04-27 04:12:19

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi,
I am getting this exception..My modem is connected to COM3 port. Please tell me..how to rectify it..It's urgent..thanx
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.ja
va: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)


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. It is a good tutorial but I think the "Instru
View Tutorial          By: Jaypee at 2010-10-10 22:40:50

2. more daitlled coding for me
View Tutorial          By: fred at 2008-07-15 05:56:49

3. Really superb.Simple code.Thanks.
View Tutorial          By: pradesh at 2010-04-30 01:09:57

4. Plz send code of sending sms from java code...

View Tutorial          By: Shekh at 2014-11-27 14:18:25

5. Introduction is very clear I get the answer what I
View Tutorial          By: sathya at 2013-02-05 15:57:30

6. i had a problem in running a java software jdk1.5.
View Tutorial          By: tej at 2009-06-30 08:50:27

7. I came to know about the basic concepts here but I
View Tutorial          By: Amit Gorvadiya at 2015-09-23 06:18:37

8. quite helpful
View Tutorial          By: kezyRoan at 2011-06-11 03:58:52

9. Dim xlApp As Excel.Application
Dim

View Tutorial          By: Zarno at 2010-12-24 07:11:19

10. Thanks,It's perfect solution,I solved my probleam
View Tutorial          By: Suryaprakash Raghuwanshi at 2009-07-04 19:06:24