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. can you please e mail me a code about hotel reserv
View Tutorial          By: princeton at 2008-09-19 02:32:13

2. i am getting d following error:-

Se

View Tutorial          By: nikitha at 2013-02-07 09:23:12

3. please someone share the example to receive messag
View Tutorial          By: yem at 2013-04-06 01:52:00

4. i found this very pleasing for both my brain and m
View Tutorial          By: Matthew Redisons at 2012-10-03 14:36:32

5. thank for your article it helps us to our studies
View Tutorial          By: shane at 2010-07-21 19:12:22

6. Its working Great.
Here i want to ask one

View Tutorial          By: Manish at 2015-03-18 11:55:20

7. Hello sir pls send me
com.sun.speech.freet

View Tutorial          By: nikunj at 2011-08-19 06:55:37

8. where is the main class dear.................
View Tutorial          By: akhand at 2011-03-01 23:58:05

9. i need method overloading with io package
View Tutorial          By: ravinder kaur at 2010-09-11 11:00:57

10. hi,
while exporting data i am getting error

View Tutorial          By: akash at 2011-12-22 07:28:05