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



Comment Added by : pothan

Comment Added at : 2013-12-31 07:17:45

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Iam using lan connection to connect to internet. Can you pls tell me what is the port number i need to use in the program in place of com2,If i use same port it is throwing exception like
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at com.highradius.sms.SerialConnection.openConnection(SerialConnection.java:72)
at com.highradius.sms.Sender.send(Sender.java:41)
at com.highradius.sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
at com.highradius.sms.SerialConnection.openConnection(SerialConnection.java:89)
at com.highradius.sms.Sender.send(Sender.java:41)
at com.highradius.sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:722)


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. sir, i need java code to display position and velo
View Tutorial          By: Sandhya Yadav at 2015-08-20 07:16:04

2. i want to get the SCJP ceretificate plz anybody ca
View Tutorial          By: arpita kotadia at 2012-09-01 06:50:03

3. Can u plz send me woking application (Send sms) J
View Tutorial          By: Ritanshu Goel at 2012-09-22 05:53:24

4. It's so crazy to the adventures of J2ME side and w
View Tutorial          By: jaikarthik at 2009-01-18 23:42:42

5. thanks for posting
View Tutorial          By: sriram at 2011-11-24 06:38:42

6. It was really good.helped me a lot to get started.
View Tutorial          By: rohit at 2010-08-21 04:57:32

7. I get this error:
Can someone please help m

View Tutorial          By: Carlos at 2010-06-14 02:42:53

8. Sir,
i am implementing the above code in w

View Tutorial          By: Girish padki at 2010-01-15 21:50:50

9. hi,
How to create certificate from https://

View Tutorial          By: CN Balu Ramesh at 2011-07-19 08:38:31

10. how to solve this problem

javax.com

View Tutorial          By: bhamre sandeep at 2010-02-28 04:18:36