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



Comment Added by : Nilesh Agrawal

Comment Added at : 2012-06-08 15:08:25

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
when i was running this code... it is giving me this error
OK 0
COM1
Yes the problem is here 1
null
OK 1
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:85)
at Sender.send(Sender.java:44)
at SMS.run(SMS.java:34)
at java.lang.Thread.run(Unknown Source)


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 by far the easiest way I have yet seem, ma
View Tutorial          By: doahh at 2010-03-08 11:23:48

2. please tell me.........
View Tutorial          By: case c++ at 2012-02-20 02:45:55

3. It is very helpful, I searched in many websites, b
View Tutorial          By: Anil Vaja at 2013-10-14 17:21:42

4. thanks,Gud job
View Tutorial          By: junaid sheikh at 2012-11-21 16:24:27

5. Please provide web.xml for the example
View Tutorial          By: Amit at 2008-12-24 02:16:59

6. i like the example and it helped me understand the
View Tutorial          By: Danny at 2009-10-23 02:09:06

7. About the javax.comm.* error, you need to include
View Tutorial          By: Nicolas Tourne at 2011-12-18 15:11:05

8. nice tutorial
View Tutorial          By: Rakesh at 2012-05-30 01:13:00

9. javax.microedition.io.ConnectionNotFoundException:
View Tutorial          By: yellaiah at 2014-12-27 05:18:52

10. Shouldn't you call free() on the allocated memory
View Tutorial          By: Ritchie at 2012-05-09 14:14:49