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



Comment Added by : souvik

Comment Added at : 2011-12-22 08:12:50

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I'm using BSNL broadband modem,,from that how can i send sms from pc to any mobile????
I also run the 5 java classes & uses the a servlet to call SMSClient program,,,but i m getting error::::
11/12/22 13:35:19 javax.comm.NoSuchPortException
11/12/22 13:35:19 at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
11/12/22 13:35:19 at com.we.wb.wl.SerialConnection.openConnection(SerialConnection.java:40)
11/12/22 13:35:19 at com.we.wb.wl.Sender.send(Sender.java:43)
11/12/22 13:35:19 at com.we.wb.wl.SMSClient.run(SMSClient.java:35)
11/12/22 13:35:19 at java.lang.Thread.run(Thread.java:595)
11/12/22 13:35:19 java.lang.NullPointerException
11/12/22 13:35:19 at com.we.wb.wl.SerialConnection.openConnection(SerialConnection.java:51)
11/12/22 13:35:19 at com.we.wb.wl.Sender.send(Sender.java:43)
11/12/22 13:35:19 at com.we.wb.wl.SMSClient.run(SMSClient.java:35)
11/12/22 13:35:19 at java.lang.Thread.run(Thread.java:595)
//////////////////////////////////////
How can i solve this.....please help me .....


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. @Srini

Hi Srini, I can answer your

View Tutorial          By: Sudev Wilson at 2015-04-08 12:23:33

2. Thank you. It is very good.
View Tutorial          By: tapes pra at 2011-12-08 09:23:31

3. What is the use of "SMSConnector" in thi
View Tutorial          By: Mudra at 2010-06-04 15:04:55

4. nice article...........................
View Tutorial          By: abhijit at 2012-09-24 11:12:46

5. could anyone run this program on Netbean? If there
View Tutorial          By: Wei Long at 2008-06-16 19:23:48

6. This all works fine, but when I read records from
View Tutorial          By: Ayac at 2011-10-31 10:58:21

7. Hi guys.i have a simple doubt.
i want to ru

View Tutorial          By: Muthukumar at 2011-12-29 07:30:56

8. The tutorial is simple and clear.
@Gnani, i

View Tutorial          By: Tayo at 2010-01-03 13:10:24

9. prog was understandable wat u gave there,but it no
View Tutorial          By: sailaja at 2009-07-03 02:53:20

10. nice
View Tutorial          By: srfds at 2012-05-28 09:25:15