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



Comment Added by : divya

Comment Added at : 2008-04-27 04:12:19

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi,
I am getting this exception..My modem is connected to COM3 port. Please tell me..how to rectify it..It's urgent..thanx
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.ja
va:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source)
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(Unknown Source)


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. how to run this code....... Please tell somebody m
View Tutorial          By: Honey at 2015-01-24 14:27:38

2. import java.util.*;

public class de

View Tutorial          By: Virudada at 2012-05-05 06:27:22

3. very good
View Tutorial          By: pravin gajbhiye, nagpur at 2010-05-24 01:43:30

4. Fantastic yaar .realy very good n simple example..
View Tutorial          By: Satya at 2012-10-11 09:33:17

5. Very Easy To Understand
View Tutorial          By: Najeeb at 2011-06-09 04:12:34

6. hi
i try to write a code for send data or s

View Tutorial          By: mjh at 2011-02-16 08:26:10

7. are you have java code to read sms from gsm modem,
View Tutorial          By: ronized at 2009-01-01 20:36:24

8. this is very good example.
View Tutorial          By: jyoti raman ray at 2010-10-13 22:17:09

9. 1
View Tutorial          By: hamza at 2015-06-08 15:09:29

10. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45