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



Comment Added by : Raviteja

Comment Added at : 2014-06-23 12:46:06

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I am geting following exception
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at com.sms.source.SerialConnection.openConnection(SerialConnection.java:75)
at com.sms.source.Sender.send(Sender.java:40)
at com.sms.source.SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sms.source.SerialConnection.openConnection(SerialConnection.java:92)
at com.sms.source.Sender.send(Sender.java:40)
at com.sms.source.SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Unknown Source)..

I just wanted to know that can we run this code in LAN network ...


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. good quick explanation. Thanks
View Tutorial          By: kay at 2008-12-08 21:10:13

2. regarding 'TextMessage' and 'MessageConnection' er
View Tutorial          By: gaurav at 2012-04-24 11:57:17

3. hello,thanx its really great
View Tutorial          By: sadhana at 2011-08-05 09:35:00

4. yes simple good it wroking goog
View Tutorial          By: durga prasad pavirala at 2009-02-11 03:43:04

5. what will be the output of 'X' in following code a
View Tutorial          By: Amit Goyal at 2009-09-25 05:48:45

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

7. Could you somehow use the substring method to pars
View Tutorial          By: Eric at 2009-04-26 19:20:26

8. Good hello world to start with struts2 provided yo
View Tutorial          By: Boby Thomas at 2009-04-01 22:25:03

9. while i am executing this program i am getting Nul
View Tutorial          By: Seema at 2013-11-26 18:39:15

10. Does your Siemens CX75 can show up as COM port dev
View Tutorial          By: mchon at 2008-10-10 18:24:11