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



Comment Added by : swathi

Comment Added at : 2010-06-24 05:18:28

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi all, i have tried above code, but am getting following error


javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java: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) Getting above error

but am in urgent need of working condition code , if u help me out ,

i'll be thankfull to you,
regards
swathi


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. Excelente!!
Justo lo que necesitaba.

View Tutorial          By: Cesar at 2010-01-07 17:40:52

2. Unsigned nature of variables
View Tutorial          By: Ganesh Chowdhari at 2008-08-12 06:33:12

3. thank you...as a beginner this info very useful fo
View Tutorial          By: snigdha at 2012-10-17 11:41:39

4. thank u very much......... its very helpful
View Tutorial          By: ankit at 2012-10-14 20:52:24

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

6. Thankyou very much for the explanation
View Tutorial          By: Ruchita at 2010-11-11 01:16:10

7. In your AndroidManifest.xml file you will have to
View Tutorial          By: Ashley at 2011-07-21 02:47:49

8. Hi I have Fixed - "NoSuchPortException"
View Tutorial          By: vijay at 2011-02-19 01:44:37

9. Good.understand
View Tutorial          By: Selva at 2009-12-29 23:27:29

10. Nice code. It is working Fine.Thnx
View Tutorial          By: Tapasya Shukla at 2010-11-12 06:32:45