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



Comment Added by : Ashish

Comment Added at : 2009-03-23 03:10:22

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I tried to use the code's but getting one error as :-

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at sms.send.SerialConnection.openConnection(SerialConnection.java:77)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at sms.send.SerialConnection.openConnection(SerialConnection.java:94)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)

plz help me rectify these errors.. actually my com port is com3 how to use it?? i am not able to get it... what should i change or modify in any of the file?? .. plz help me regarding this matter!!!!


View Tutorial



Ask a Question

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. The example shown in this article uses 8-bit opera
View Tutorial          By: wisnu at 2012-10-04 05:11:51

2. Hello,

I am still getting the below

View Tutorial          By: pavithra at 2012-03-25 19:33:38

3. good example..easy to understand
View Tutorial          By: aleena at 2010-07-24 21:56:01

4. hai i have downloaded the above sms source code i
View Tutorial          By: arunram at 2009-10-28 01:42:51

5. I have my application running on server that is th
View Tutorial          By: vitamin b12 at 2009-12-04 10:51:56

6. can u p-lease tell me the clear idea of how to sto
View Tutorial          By: osman at 2010-08-19 04:33:37

7. Hi sir, Your explain is very good sir,
View Tutorial          By: Surendra Majji at 2013-02-14 04:55:49

8. thanx.thats a useful material for the students, in
View Tutorial          By: MUHAMMAD ABUBAKAR YASEEN at 2010-10-28 04:19:00

9. To make this work with out error I had to add:
View Tutorial          By: Jester at 2009-03-26 15:25:59

10. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: Thennarasu at 2011-05-20 02:30:28