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



Comment Added by : puspendra

Comment Added at : 2009-01-23 06:51:39

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi
I am not able to use this program..
can some one tell me what is the problem..
can some one give me email ID so that i can communicate with him for it..
I am working with noikia phone
----- main---
Inside Run ...
OK 0
COM6
Yes the problem is here 1
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
null
OK 1
at SerialConnection.openConnection(SerialConnection.java:88)
at Sender.send(Sender.java:45)
at SMSClient.run(SMSClient.java:42)
at java.lang.Thread.run(Unknown Source)
above is the error i am getting..


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. I need more example........
View Tutorial          By: niyaz d at 2011-02-20 23:44:56

2. Hi
I have done all the steps mentioned abo

View Tutorial          By: Asela at 2012-01-26 18:53:51

3. Thanks.
View Tutorial          By: Joe at 2011-12-07 11:41:14

4. Hi,
I am Mahesh. i want to sending sms cod

View Tutorial          By: Mahesh at 2011-05-20 05:24:22

5. very nice
View Tutorial          By: subbu at 2011-12-03 13:49:32

6. nice one its very useful
View Tutorial          By: jhejhe at 2010-02-21 05:03:50

7. i totally disagree with Gerardo Saldív
View Tutorial          By: Shivesh at 2009-09-24 23:46:42

8. Nice article. Really helpful in understanding the
View Tutorial          By: Sundar at 2011-12-18 11:15:07

9. simple and clear , thanks a lot!
View Tutorial          By: Steiner at 2012-01-29 19:44:57

10. Nice site to assist learners to study without much
View Tutorial          By: Hot.g at 2009-12-01 02:36:02