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. hi.I am new in j2me and really want to learn more
View Tutorial          By: Deepak kumar at 2010-11-15 03:04:15

2. the correct 255's binary representation is:

View Tutorial          By: SD.Plox at 2008-12-30 17:51:39

3. Answer for comment 5
this loop is work infi

View Tutorial          By: salman at 2013-03-10 07:30:53

4. thank you..!!
really very helpful...

View Tutorial          By: sneha at 2012-01-30 18:01:16

5. Many Thanks.
View Tutorial          By: Kallol Samaddar at 2013-07-11 18:26:06

6. Nice Explanation
View Tutorial          By: sam at 2010-11-24 02:23:57

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

8. in statment -
new Treeset<String> (ne

View Tutorial          By: Siddhesh Khedekar at 2009-10-27 00:14:17

9. Hi,

i need a program to send sms wh

View Tutorial          By: Sindhuja at 2013-05-29 07:07:15

10. i didnot get the answer
View Tutorial          By: ramana at 2013-02-04 06:36:37