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



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. can you please explain this..!!

t =

View Tutorial          By: kalyan at 2011-06-30 00:01:10

2. Hi. When i click on Install certificate. It tells
View Tutorial          By: jaris at 2011-10-18 11:00:41

3. Hello,
I would like to know how will take p

View Tutorial          By: Jeff at 2011-02-02 23:05:17

4. mohd see this link http://www.java-samples.com/sho
View Tutorial          By: Issac at 2011-05-31 02:39:55

5. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

6. Good Explanation for the collections. The output f
View Tutorial          By: kalaivanan at 2012-04-11 06:51:49

7. i want a calendar that shows the year, the month a
View Tutorial          By: steven quijano at 2010-03-18 20:50:37

8. Good and very clear explanation...
View Tutorial          By: Pavana at 2010-01-05 23:35:30

9. how this program is work , please, tell
View Tutorial          By: rohit kumar at 2015-10-30 12:22:05

10. /*Web.xml File */

<?xml vers

View Tutorial          By: Pavan Barot at 2010-07-11 23:32:35