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



Comment Added by : Ashish

Comment Added at : 2009-03-23 03:10:22

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I tried to use the code's but getting one error as :-

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at sms.send.SerialConnection.openConnection(SerialConnection.java:77)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at sms.send.SerialConnection.openConnection(SerialConnection.java:94)
at sms.send.Sender.send(Sender.java:55)
at sms.send.SMSClient.run(SMSClient.java:46)
at java.lang.Thread.run(Thread.java:619)

plz help me rectify these errors.. actually my com port is com3 how to use it?? i am not able to get it... what should i change or modify in any of the file?? .. plz help me regarding this matter!!!!


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. it worked n this case but could not find some more
View Tutorial          By: abhilash koleti at 2012-09-14 16:21:58

2. A good Article..........

Thanks!!

View Tutorial          By: Pravesh at 2011-12-08 03:34:01

3. Thnak you very much i got much of help for my proj
View Tutorial          By: Xshay at 2012-01-21 06:26:49

4. how to use isset keyword with multidimensional arr
View Tutorial          By: mehul at 2015-01-19 23:47:02

5. awesome!!!explanation
View Tutorial          By: karthik at 2013-02-02 08:06:40

6. nice article but can more example
View Tutorial          By: sandi at 2012-10-18 13:26:10

7. good one
View Tutorial          By: saurabh at 2012-01-17 04:43:29

8. this is simple example but need to more explanatio
View Tutorial          By: Ramalingam at 2012-01-05 06:25:12

9. nativeFinalize: Error closing Handle 6
and

View Tutorial          By: yash at 2008-05-16 17:43:42

10. In TimeServer eif = service.getPort(TimeServer.cla
View Tutorial          By: Vijay at 2015-02-01 08:59:19