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 have a shimmer accelerometer(bluetooth). i need
View Tutorial          By: jason at 2012-03-22 04:05:08

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

3. you can put the a loop for multiple extension
View Tutorial          By: Arun at 2012-12-07 05:23:47

4. FINALLY! A place that gives complete examples (wi
View Tutorial          By: bminton at 2013-03-19 00:15:55

5. thanks alot steven for the code. i'm try to automa
View Tutorial          By: Roger at 2011-05-17 17:33:07

6. thanks a lot man....
View Tutorial          By: Praveen at 2012-12-03 08:36:51

7. Thanks
View Tutorial          By: PARIKSHIT SHARMA at 2011-12-23 22:33:39

8. "paint() sample program to draw a line in J2M
View Tutorial          By: Carlos Alberto Urrea at 2015-02-06 14:00:14

9. How can I submit my query in here?
View Tutorial          By: Kafedha Rwezaula at 2010-06-04 01:32:30

10. I need you to Write me a program to initialize one
View Tutorial          By: Sayed maseer at 2015-06-20 05:09:12