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. How can I delete the data that I have entered into
View Tutorial          By: selina at 2011-08-15 05:15:45

2. i want to SCJP exam ,tell how to apply for this ex
View Tutorial          By: jasmina at 2013-04-22 11:05:53

3. really great, goes more in depth than cplusplus.co
View Tutorial          By: ss80 at 2008-07-02 06:45:47

4. Sir , I am doing BCS . I want to know more about
View Tutorial          By: Sachin deshmukh at 2010-08-04 02:24:59

5. please would someone help me create a simple java
View Tutorial          By: christopher at 2012-12-05 00:32:50

6. Hi,

I am new to html, and javascrip

View Tutorial          By: Tom Theriault at 2010-12-14 14:54:09

7. Would u please provide me with a solution about ho
View Tutorial          By: milan at 2011-02-17 05:39:38

8. Please provide web.xml file for this example
View Tutorial          By: Girish at 2009-03-08 22:53:03

9. Great article. The simple example used easily make
View Tutorial          By: Nikhil at 2009-11-13 08:38:41

10. I had just copied the code & tried to execute
View Tutorial          By: dhananjay padalkar at 2010-02-13 19:20:27