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



Comment Added by : Vikram Subbiah

Comment Added at : 2010-04-12 02:09:36

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
The following exception are raised in send sms in java application..can u help me to slove this problem?..

Thank you..

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SMS.SerialConnection.openConnection(SerialConnection.java:87)
at SMS.Sender.send(Sender.java:55)
at SMS.SMSClient.run(SMSClient.java:50)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at SMS.SerialConnection.openConnection(SerialConnection.java:104)
at SMS.Sender.send(Sender.java:55)
at SMS.SMSClient.run(SMSClient.java:50)
at java.lang.Thread.run(Thread.java:619)


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. Hi,,
I dont have a problem Insert, Update a

View Tutorial          By: Yavuz at 2010-09-01 14:15:02

2. hi.I am new in j2me and really want to learn more
View Tutorial          By: A.vinothKumar at 2012-08-20 07:50:26

3. Hello, I have stupid questions, but I need to ask
View Tutorial          By: Johnson Edison at 2012-12-13 17:10:57

4. There something at Example #2! because when i try
View Tutorial          By: Paul at 2011-08-01 14:38:14

5. Re: Inner Classes
Aside from allowing acces

View Tutorial          By: lee smith at 2010-01-17 10:59:23

6. hey pls tel me, what is the advantage of method ov
View Tutorial          By: divya at 2013-08-27 14:20:22

7. to Donovan Aces #61, thank you, I am new to java &
View Tutorial          By: Joe at 2011-09-14 22:40:19

8. send me SMS RECEIVE code please
View Tutorial          By: Butler at 2008-04-26 05:33:40

9. i like this site.good explanation,but it is good f
View Tutorial          By: mamata at 2010-08-16 05:22:53

10. This code is only for send sms? can it also alert
View Tutorial          By: abdul kadir at 2009-10-23 05:37:46