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



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 am not getting output by using this code..after
View Tutorial          By: dhaval at 2011-01-03 03:42:28

2. great thanks a lottttttttttttttttt
View Tutorial          By: reshma at 2011-06-13 04:35:44

3. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28

4. The concept is clear.
View Tutorial          By: sam at 2012-08-23 03:52:15

5. sir, am doing my mca project in java based on netw
View Tutorial          By: saravanapriya at 2011-11-24 03:25:06

6. Please note that the above code does not work with
View Tutorial          By: mk at 2012-02-14 15:37:02

7. Hey, this is a great explanation regarding the dif
View Tutorial          By: foam roofing at 2011-04-02 17:26:52

8. Thanks, this is exactly i am looking for. I need t
View Tutorial          By: Ankita at 2009-11-15 19:41:16

9. Its informative and helpful. Thanx
View Tutorial          By: Usama at 2012-07-14 22:16:45

10. how run struts in eclipse can explain with an exam
View Tutorial          By: Grace at 2015-08-14 02:41:28