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



Comment Added by : Hi,

Comment Added at : 2009-07-06 01:09:35

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi got an error while executing :

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(Thread.java:619)
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(Thread.java:619)


Could any one explain the steps to rectify the above issue ?

Waiting for replies ..

Naveen Chanda


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. In your AndroidManifest.xml file you will have to
View Tutorial          By: Ashley at 2011-07-21 02:47:49

2. What a wonderful site for beginners? Now I can pra
View Tutorial          By: Kafedha Rwezaula at 2010-06-03 04:39:59

3. fantastic explaination about XML parsers
View Tutorial          By: smitha at 2011-05-15 04:53:00

4. Many thanks for your nice explanation.
View Tutorial          By: Zahra at 2012-04-10 06:03:56

5. very good cod
View Tutorial          By: moly at 2007-03-13 08:17:40

6. good quick explanation. Thanks
View Tutorial          By: kay at 2008-12-08 21:10:13

7. hi, how do i turn it into a gui with swing allowin
View Tutorial          By: psychicjava at 2011-02-06 13:18:08

8. I'm a begner but i dont know the way to ask quisti
View Tutorial          By: sajid kahn at 2013-05-23 19:15:26

9. Simple and easy code..........
View Tutorial          By: mandalson at 2011-12-24 06:50:38

10. hi i have used this code in my site. and it says <
View Tutorial          By: Jawad at 2011-01-16 06:31:00