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



Comment Added by : Manidhar

Comment Added at : 2013-11-03 10:53:16

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi,
When i tried to run the program i am getting the below error message. Please let me know how we can identify the port number of my modem.

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at com.pgowa.sms.SerialConnection.openConnection(SerialConnection.java:71)
at com.pgowa.sms.Sender.send(Sender.java:45)
at com.pgowa.sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.pgowa.sms.SerialConnection.openConnection(SerialConnection.java:88)
at com.pgowa.sms.Sender.send(Sender.java:45)
at com.pgowa.sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Unknown Source)


Thanks & Regards,
Manidhar


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. This all works fine, but when I read records from
View Tutorial          By: Ayac at 2011-10-31 10:58:21

2. Thanks
View Tutorial          By: Cecilia at 2012-08-07 05:05:51

3. It can be Made Popular by adding Links or Suggesti
View Tutorial          By: Ramalingam at 2010-03-20 23:00:41

4. Simplified explanation with perfect Examples
View Tutorial          By: Sushant Chaudhary at 2010-07-12 00:32:18

5. can any beginners can try creating web pages

View Tutorial          By: jo at 2015-07-28 19:35:11

6. hi
thanks for your code i wanted to know w

View Tutorial          By: anshul at 2009-10-28 15:10:10

7. main method's return type is void .how main methad
View Tutorial          By: sayyed moin at 2015-09-07 08:55:33

8. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

9. You can also include a hidden field of the same na
View Tutorial          By: Stray at 2010-01-05 08:07:47

10. nice
View Tutorial          By: knraju at 2012-04-13 13:49:57