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. thnkss buddyy its very helpful for my assignmentss
View Tutorial          By: yamini at 2011-02-25 21:01:23

2. Thanks to you for providing such a wonderful infor
View Tutorial          By: Tara Patra at 2010-08-30 07:22:44

3. nice code....
nice explanation.. thanks

View Tutorial          By: vinitha at 2013-01-10 10:59:02

4. hello after working with this code i got the follw
View Tutorial          By: Tapaswini Sabat at 2011-11-05 12:43:49

5. hi,
when i run the code i got the exception

View Tutorial          By: arjun at 2014-09-18 10:25:18

6. easy to understand
View Tutorial          By: shanthi at 2011-01-02 21:25:51

7. Hi Shweta, Thanks for pointing the typo error in t
View Tutorial          By: Jagan at 2008-07-12 21:36:46

8. hi and thanks for this good example , i want ask i
View Tutorial          By: Maryam at 2011-12-17 11:19:07

9. Thank you......... It's very helpful.
View Tutorial          By: Ramesh Kumar Mahto at 2010-09-01 12:12:30

10. i want to know about simple java structure with br
View Tutorial          By: Rambahaz at 2009-09-07 06:41:25