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. How to use Shift operators with practicals in java
View Tutorial          By: RosyKrish at 2013-01-17 02:42:37

2. Hi thanks for the example for overriding toString(
View Tutorial          By: Reshma at 2011-05-11 10:46:08

3. can you give the program about the fast food by us
View Tutorial          By: grace at 2008-09-22 00:48:37

4. This is so phat. Maybe the best explanation ever t
View Tutorial          By: Devin Prince III at 2010-08-11 10:01:04

5. Explanation was good and easily comprehendable.
View Tutorial          By: Moin Adil at 2009-06-17 04:18:56

6. awesome .i really like this site. thankyou .......
View Tutorial          By: Ramesh at 2013-03-13 15:08:54

7. can i have a piece of program so that i can improv
View Tutorial          By: miniboss at 2010-11-12 06:09:41

8. Looks good. This is going to be a good resource.
View Tutorial          By: Brainpower at 2013-03-02 02:45:11

9. sir how can i access url in one click
View Tutorial          By: mohit at 2010-05-28 23:10:23

10. it is nice but please give simple example like are
View Tutorial          By: red at 2009-12-03 23:07:37