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



Comment Added by : nancy kapoor

Comment Added at : 2008-10-07 14:26:21

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
i am getting the following error when i ran this program.

i am running the program on window machine.
which gsm/modem simulator you are using to test this program.
please post the step by step procedure to run the program.



Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:430)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:595)
BUILD SUCCESSFUL (total time: 12 seconds)


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
thanks for the above code
Anyone

View Tutorial          By: mjnanthini at 2010-09-29 00:59:01

2. Thanks a lot!
The main reason why we need t

View Tutorial          By: SA at 2011-06-24 15:00:13

3. Hi ,

Since both the methods in the

View Tutorial          By: Chintan at 2013-11-21 03:42:32

4. Thank you ... was very helpfull indeed !!
View Tutorial          By: Avinav at 2011-02-09 15:46:37

5. site is good.explaining the concept with nice pro
View Tutorial          By: AJOY KUMAR MANDAL at 2012-11-22 01:57:26

6. Hi,
I am Mahesh. i want to sending sms cod

View Tutorial          By: Mahesh at 2011-05-20 05:24:22

7. I am getting error in setContentView(R.layout.main
View Tutorial          By: Malick at 2013-06-30 06:57:30

8. Thanks Man!! Been searching for a simple one like
View Tutorial          By: Kid at 2012-10-12 14:15:43

9. Thanks,It worked.I tried with Microsoft Visual C++
View Tutorial          By: gaurav at 2013-12-04 08:27:35

10. thanks alot steven for the code. i'm try to automa
View Tutorial          By: Roger at 2011-05-17 17:33:07