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. Unable to understand all the points, quiet confusi
View Tutorial          By: KB at 2015-04-15 10:11:14

2. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

3. sr
thanks 4 information provided
b

View Tutorial          By: veer kumar at 2012-07-25 18:30:38

4. i run above code in my netbean ide, i din't get ou
View Tutorial          By: manish sharma at 2013-04-03 05:28:40

5. Hi,

Thanks for this example (glad t

View Tutorial          By: Thor at 2007-10-06 15:12:28

6. xml response is :

<?xml version=

View Tutorial          By: Madhu at 2011-06-29 09:47:51

7. its good,,,can it be done more simpler without usi
View Tutorial          By: gahanaatherya at 2013-10-14 11:50:02

8. it is perfectly working...
View Tutorial          By: Venkatesh at 2014-09-21 06:54:39

9. Easy to understand
View Tutorial          By: suji at 2012-02-21 08:28:05

10. I like this tutorial, it is self explaining. good
View Tutorial          By: Nikia at 2013-01-25 20:04:30