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



Comment Added by : pushpam

Comment Added at : 2009-01-23 06:14:07

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
----- main---
Inside Run ...
OK 0
COM4
Yes the problem is here 1
null
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:45)
at SMSClient.run(SMSClient.java:42)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)OK 1

at Sender.send(Sender.java:45)
at SMSClient.run(SMSClient.java:42)
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. Thanks to java-samples.com website. and very usefu
View Tutorial          By: Samuel . A at 2010-01-29 01:29:51

2. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51

3. Hi Ashish, You just have to create an object of SM
View Tutorial          By: Ramlak at 2007-03-13 09:22:51

4. hey..
shouldn't the 2nd java code have an o

View Tutorial          By: izzie at 2010-04-06 11:34:34

5. simple way friends:
public class palindrome

View Tutorial          By: Manoj at 2013-01-07 02:18:00

6. Suppose we are executing a try block and faced an
View Tutorial          By: Suindu De at 2015-10-08 10:56:56

7. I executed your code but i get the error "OK
View Tutorial          By: Denzil at 2013-01-18 09:33:37

8. Thank you so much....
I am going to have ja

View Tutorial          By: Mehrnoosh at 2013-06-09 16:50:23

9. Try this code:


Public Class

View Tutorial          By: Eldan at 2012-06-17 08:25:09

10. Plse Send me The Code For Sms Application to My Ma
View Tutorial          By: Santoshb at 2010-09-08 07:08:55