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



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. can i apply multidimensional array list the progra
View Tutorial          By: [email protected] at 2009-07-01 05:09:27

2. Good tutorial.
View Tutorial          By: Pinky at 2010-03-11 10:42:49

3. thanx.thats a useful material for the students, in
View Tutorial          By: MUHAMMAD ABUBAKAR YASEEN at 2010-10-28 04:19:00

4. I used the script above, and it seems to work exce
View Tutorial          By: Michael at 2012-05-15 20:50:49

5. Good
View Tutorial          By: sirisha at 2009-09-08 23:04:22

6. Does anybody know how to force using IPv6 by my la
View Tutorial          By: Marcin at 2011-05-17 05:24:51

7. Article is good but really lacks somewhat clarity
View Tutorial          By: Ashwin Perti at 2009-09-14 04:02:39

8. Nice example but does not work on me, after execut
View Tutorial          By: Junjie Zhang at 2012-01-10 03:26:12

9. This matter is really too good.
View Tutorial          By: Ashwin perti at 2009-07-08 04:43:55

10. its not solve my problem.i.e
the concept is

View Tutorial          By: murli at 2010-10-02 23:23:11