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. simple but very usefull example, thanks a lot
View Tutorial          By: yiyo at 2011-12-01 15:18:43

2. Hi, thi's sursh laveti, actually I'm getting a pro
View Tutorial          By: suresh l at 2015-06-24 07:53:19

3. Hi, Can anyone please tell me where we need to cha
View Tutorial          By: Gunjan at 2014-01-02 12:08:41

4. give some good examples very bad i dont lke dis ex
View Tutorial          By: abinaya banu at 2014-07-14 06:04:28

5. Handling several submissions can be a lot simple t
View Tutorial          By: Blaze Blankenship at 2012-12-05 13:04:12

6. Hi,
The code runs fine on my emulator even

View Tutorial          By: Ramin at 2011-07-07 07:23:45

7. Very helpful!!
View Tutorial          By: mahesh at 2012-07-12 06:24:50

8. Excellent information reg the scopes of jsp , plea
View Tutorial          By: venkateshwarreddy suravaram at 2012-01-09 08:34:23

9. what if i am running on localhost?
what shd

View Tutorial          By: harish at 2010-02-03 03:47:08

10. i'm really hoping this example was wrote before 19
View Tutorial          By: Anonymous at 2009-06-07 21:00:18