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



Comment Added by : puneet

Comment Added at : 2010-04-22 10:22:18

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi,
I am getting this exception..My modem is connected to COM3 port. Please tell me..how to rectify it..It's urgent..thanx
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.ja
va: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)


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. Easy to understand... thank u....
View Tutorial          By: saranya at 2013-02-11 10:37:07

2. Following question to this topic:
- when i

View Tutorial          By: Alistair at 2012-01-14 10:59:52

3. thanks a lot..please tell me how to implement this
View Tutorial          By: agnas at 2008-04-26 12:26:52

4. really nice explanation
View Tutorial          By: kuldeep at 2012-08-23 13:04:30

5. can you plase give an exmple of what should i put
View Tutorial          By: Or at 2013-02-16 11:32:17

6. Doesn't the getline() on line 14 read "once u
View Tutorial          By: poo at 2011-02-22 00:32:44

7. Thank you a lot for sharing your knowledge! It was
View Tutorial          By: Marcelo at 2013-01-17 03:07:37

8. be very careful. use of put (or any method inheri
View Tutorial          By: d at 2009-10-14 09:55:23

9. could you plz tell me how to run this all programs
View Tutorial          By: abhishek at 2010-10-27 00:08:57

10. Excellent example
View Tutorial          By: Dinesh Patil at 2012-06-19 08:30:48