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



Comment Added by : Rushabh

Comment Added at : 2011-01-12 06:22:43

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi! I'm working on Ubuntu 10.04

At the first look, this code looks very useful. But for some unfortunate people like me, it is not.

I had spent my entire last night solving various problems I came across. At the moment the error is like below:

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:280)
at sms.SerialConnection.openConnection(SerialConnection.java:72)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:636)
java.lang.NullPointerException
at sms.SerialConnection.openConnection(SerialConnection.java:89)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:636)

In case any of you have Java code for receiving SMS, please do mail me at [email protected]

Thanks!


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. i want to SCJP exam ,tell how to apply for this ex
View Tutorial          By: jasmina at 2013-04-22 11:05:53

2. 510
1020
2040
4080
816

View Tutorial          By: sky at 2010-07-17 06:54:46

3. //Program of Method Overloading with Runtime Value
View Tutorial          By: Subhojit Das at 2014-10-09 07:31:20

4. I'm sorry but your closing statement...

View Tutorial          By: Al Scherer at 2009-09-15 09:33:24

5. very useful
View Tutorial          By: Ruchika at 2011-07-10 05:15:05

6. i like this site.good explanation,but it is good f
View Tutorial          By: mamata at 2010-08-16 05:22:53

7. hi , sending of sms is failing. Please help me in
View Tutorial          By: sudhakar at 2009-06-19 09:39:55

8. very nice
View Tutorial          By: prasad at 2009-11-11 05:03:16

9. Very nicely explained, especially the step-by-step
View Tutorial          By: Kaushik at 2012-09-20 04:14:21

10. i had a problem in running a java software jdk1.5.
View Tutorial          By: tej at 2009-06-30 08:50:27