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. this is really cool......
View Tutorial          By: solex at 2009-05-16 04:02:35

2. Please, send me a working JSP version ,i got error
View Tutorial          By: Pang at 2008-01-11 00:01:52

3. Assume scenario:
- i have set connection po

View Tutorial          By: Dan at 2012-02-22 09:48:46

4. i need help in java
View Tutorial          By: arjun tanwar at 2010-02-17 20:58:55

5. Thankyou very much for the explanation
View Tutorial          By: Ruchita at 2010-11-11 01:16:10

6. I am assuming you are using eclipse for your andro
View Tutorial          By: Ashley at 2011-07-18 00:34:04

7. Very good tutorial, but I have a small question he
View Tutorial          By: Mohammad NABIL at 2010-07-20 05:58:19

8. Thank you.. Its working..
View Tutorial          By: koti at 2012-06-11 19:53:21

9. Hey nice article Brian W. Kernighan and/or Dennis
View Tutorial          By: butt at 2013-01-17 07:12:21

10. 3 - To build features that realize the control ele
View Tutorial          By: kosovari at 2012-01-30 13:52:54