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



Comment Added by : puneet

Comment Added at : 2010-04-22 10:22:18

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. thanx to schildt
View Tutorial          By: singh at 2012-10-26 11:57:11

2. I have a sample code in which,

obje

View Tutorial          By: Tan Mi at 2011-10-25 23:24:10

3. How to draw a thick circle in midlet?
View Tutorial          By: masi at 2011-12-01 11:47:00

4. Thank you. It is very good.
View Tutorial          By: tapes pra at 2011-12-08 09:23:31

5. examples are very use full
View Tutorial          By: keerthe at 2010-08-12 23:00:21

6. hi
Instead of sending a int type pass an ar

View Tutorial          By: Sanju at 2014-12-04 08:51:18

7. best site ever.
View Tutorial          By: rehan ahmed at 2008-12-10 02:21:32

8. When the Value Is Returned To The Method Then How
View Tutorial          By: nitin deep singh at 2011-08-09 11:43:07

9. Best Example sir
View Tutorial          By: Hiren Dangar at 2015-04-23 06:55:26

10. Don't forget the native type char, which is a 16 b
View Tutorial          By: Ron Stern at 2011-09-18 17:24:12