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



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. very useful...!
View Tutorial          By: mahesh at 2012-01-06 09:55:59

2. I am trying to connect mobile to PC. I put your ex
View Tutorial          By: Dedo at 2011-11-30 17:45:32

3. imgView.setBackgroundResource(R.drawable.ani); i g
View Tutorial          By: mamu at 2012-10-18 14:41:31

4. @bibiki, you are right for simpler conditions what
View Tutorial          By: Marcin at 2012-04-05 02:34:13

5. can any body explain me how to execute the program
View Tutorial          By: nikhil at 2009-06-04 23:56:11

6. Thanks for providing that....
View Tutorial          By: Jothimanickam.M at 2013-04-06 07:35:38

7. Following line
if (strcmp(dp->

View Tutorial          By: Sebastiaan Jaarsma at 2012-12-24 19:28:43

8. Hi,
i am using crystal report 9. Once i ins

View Tutorial          By: jeff at 2012-02-12 08:14:15

9. great.....
View Tutorial          By: rashid at 2009-12-07 03:22:46

10. Hi all, i have tried above code, but am getting fo
View Tutorial          By: shalini Iyer at 2008-04-22 01:20:32