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



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. hello
thanks for your code
It works

View Tutorial          By: m_karimi at 2008-10-24 12:08:06

2. Nice explaination of constructor and destructor. B
View Tutorial          By: Anon at 2009-03-01 03:50:06

3. Hi every one. I am working on my project in j2me a
View Tutorial          By: Anonymous at 2011-05-01 09:04:16

4. Hi every one. I am working on my project in j2me a
View Tutorial          By: wazir at 2010-11-26 08:27:43

5. hi,
while exporting data i am getting error

View Tutorial          By: akash at 2011-12-22 07:28:05

6. @Harshita you cannot test the SMS and call feature
View Tutorial          By: Anonymous at 2013-03-28 01:32:47

7. dis prgrm is not giving me any ouput..i need to re
View Tutorial          By: singh at 2015-02-19 12:16:31

8. very nice
View Tutorial          By: subbu at 2011-12-03 13:49:32

9. i'm doing project on hotel management...
an

View Tutorial          By: prashant patil at 2012-08-19 05:16:20

10. hai...
i am completed MCA am good at java.

View Tutorial          By: HEMALATHA at 2013-08-03 10:04:57