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



Comment Added by : shalini Iyer

Comment Added at : 2008-04-22 01:20:32

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi all, i have tried above code, but am getting following error


javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source) Getting above error

but am in urgent need of working condition code , if u help me out ,

i'll be thankfull to you,

Regards
Shalini Iyer


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. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45

2. also MEGA IMPORTANT:

make sure you

View Tutorial          By: niko at 2013-04-19 18:55:14

3. Hello sir pls send me
com.sun.speech.freet

View Tutorial          By: nikunj at 2011-08-19 06:55:37

4. thank you so much i satisfied for the tutorial in
View Tutorial          By: flick at 2010-09-24 21:10:59

5. This is very useful example for beginners.

View Tutorial          By: Amresh at 2011-02-28 22:20:11

6. Works thnx :D :D :D :D
View Tutorial          By: nik at 2014-11-09 20:44:29

7. That was nice.
View Tutorial          By: Arnab at 2007-10-17 02:02:11

8. hello everyone

i want to implement

View Tutorial          By: Prateek at 2010-09-05 00:40:57

9. i want to know when we're importing a package , w
View Tutorial          By: bilal ahmad at 2013-02-14 14:11:24

10. good job
View Tutorial          By: gopi at 2008-07-01 02:02:48