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



Ask a Question

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. Nice Intro to start J2Me
View Tutorial          By: Mak at 2009-07-04 10:36:00

2. i would like to ask that what is the history of a
View Tutorial          By: Ankit at 2011-02-07 09:56:21

3. It must be the last thread to finish execution. Wh
View Tutorial          By: Abinash at 2013-07-16 06:37:11

4. easy to understand for newbie... :P
View Tutorial          By: Emraan at 2011-11-02 16:09:56

5. Can anybody send the full working code for sending
View Tutorial          By: Atul at 2008-11-26 04:47:51

6. Hello all,

I need the codes for sen

View Tutorial          By: Fionna at 2009-07-13 00:34:45

7. Hi..
How can i read .mp3 files from memory

View Tutorial          By: satyanarayana at 2010-03-29 11:14:27

8. hi can u send me the complete working code for sen
View Tutorial          By: gautami at 2007-12-04 01:13:45

9. Hello, I have executed the above code and it works
View Tutorial          By: Sana at 2010-02-01 03:50:18

10. This is so phat. Maybe the best explanation ever t
View Tutorial          By: Devin Prince III at 2010-08-11 10:01:04