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



Comment Added by : Ashish

Comment Added at : 2009-03-23 03:10:22

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I tried to use the code's but getting one error as :-

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at sms.send.SerialConnection.openConnection(SerialConnection.java:77)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at sms.send.SerialConnection.openConnection(SerialConnection.java:94)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)

plz help me rectify these errors.. actually my com port is com3 how to use it?? i am not able to get it... what should i change or modify in any of the file?? .. plz help me regarding this matter!!!!


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. super......... thanks 4 ur great example...
View Tutorial          By: jithinraj at 2013-03-13 08:34:07

2. thanks alot steven for the code. i'm try to automa
View Tutorial          By: Roger at 2011-05-17 17:33:07

3. This is very clear and explains the concepts in a
View Tutorial          By: Reite at 2011-02-18 13:55:07

4. On my blog (http://www.future-edge.nl/blog/adding-
View Tutorial          By: Robert Willems at 2011-11-29 06:26:21

5. hi sr.
do u have any idea , how to convert

View Tutorial          By: gohila at 2012-08-15 14:31:31

6. well an easy code to understand
thanks muc

View Tutorial          By: narmada at 2011-01-17 09:47:02

7. as in property we set the value and then retrieve
View Tutorial          By: Deep at 2011-03-18 21:00:54

8. i tried with d above code but am getting an error
View Tutorial          By: Aishwarya at 2009-04-05 04:41:17

9. Hi sir !

I have two Crystal Report

View Tutorial          By: Anderson Abad at 2011-07-20 03:34:51

10. good
View Tutorial          By: dock at 2013-06-07 15:18:49