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



Ask a Question

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. nice ....Simple undersstanding..
View Tutorial          By: Anjaneyulu at 2013-06-15 04:43:45

2. thank you so much i satisfied for the tutorial in
View Tutorial          By: flick at 2010-09-24 21:10:59

3. I tried to use excute this code to retreive record
View Tutorial          By: PL at 2013-08-27 02:58:55

4. Hi, I am new to J2ME and just recently i created a
View Tutorial          By: andre at 2011-08-02 22:57:05

5. example is good for understand what is the functio
View Tutorial          By: Ankit Shukla at 2009-09-17 15:25:17

6. To "need help":

String s

View Tutorial          By: Mike at 2010-10-14 20:09:31

7. hi ..........
the code is worked for me....

View Tutorial          By: pradeep at 2012-01-25 06:30:14

8. Well, I am fortunate to run CentOS 5 - everywhere
View Tutorial          By: Goozy at 2009-07-25 11:18:45

9. nice explainations for the beginners like me :)
View Tutorial          By: Divya Taneja at 2012-02-11 13:17:17

10. I have a website and i want to make a option to se
View Tutorial          By: rasel at 2011-11-26 15:50:49