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. what are the required equipments to run j2me
View Tutorial          By: messi at 2012-11-13 13:15:18

2. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51

3. It can be Made Popular by adding Links or Suggesti
View Tutorial          By: Ramalingam at 2010-03-20 23:00:41

4. it is very very use full to us
View Tutorial          By: santhosh at 2008-12-07 14:46:13

5. i need help in writing code for multiplication pro
View Tutorial          By: viswanath at 2013-02-23 14:13:40

6. Windows XP
libmySQL.dll in package MySQL5.1

View Tutorial          By: Bingo at 2009-11-07 20:11:52

7. very good for programing
View Tutorial          By: kiran at 2007-12-06 00:39:47

8. excellent information is provided to you sir try t
View Tutorial          By: Raghav at 2007-12-16 05:03:53

9. i was after a user interactive calendar where they
View Tutorial          By: Harry at 2011-11-17 09:01:07

10. This text is a plagiary of part of K&R ANSI C
View Tutorial          By: c_apprientice at 2010-11-13 07:30:11