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



Comment Added by : Rohan

Comment Added at : 2008-09-23 05:52:31

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi
Can u plz tell me how to implement this. I have made a new file to call the method in sender.java file ....
I gives me the following Error

javax.comm: Can't find javax.comm.properties!

java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at com.mcsil.sms.SerialConnection.openConnection(SerialConnection.java:72)
at com.mcsil.sms.Sender.send(Sender.java:45)
at com.mcsil.sms.SMSClient.run(SMSClient.java:41)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: isSessionActive
at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
at com.mcsil.sms.SerialConnection.openConnection(SerialConnection.java:72)
at com.mcsil.sms.Sender.send(Sender.java:45)
at com.mcsil.sms.SMSClient.run(SMSClient.java:41)
at java.lang.Thread.run(Thread.java:595)


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. can u give a gud example on command line arguments
View Tutorial          By: shravan at 2010-04-09 23:11:18

2. this code is very usefull but unfortunately, i hav
View Tutorial          By: imenish at 2011-03-24 15:32:43

3. Thnx A Lot...very healpful...........
View Tutorial          By: vinay at 2012-07-19 09:21:20

4. I 've tried the program for Bubble Sort. This prog
View Tutorial          By: Siva at 2012-04-17 05:19:28

5. The synchronization schedule function has been red
View Tutorial          By: Kim at 2014-11-12 10:52:13

6. sir, in this example,which value of n is being sto
View Tutorial          By: shivom at 2012-01-15 07:16:49

7. Please help I want to map the data say username an
View Tutorial          By: akshat at 2011-07-25 12:49:06

8. Works great, thanks! However, is there any way to
View Tutorial          By: MisterCrow at 2013-04-30 11:56:49

9. I love http://www.java-samples.com very much , I w
View Tutorial          By: Phongveth at 2009-03-13 13:15:04

10. nice and simple information...............
View Tutorial          By: sengadu at 2010-07-24 07:43:29