Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.
Comment Added by : Rushabh
Comment Added at : 2011-01-12 06:22:43
Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi! I'm working on Ubuntu 10.04
At the first look, this code looks very useful. But for some unfortunate people like me, it is not.
I had spent my entire last night solving various problems I came across. At the moment the error is like below:
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:280)
at sms.SerialConnection.openConnection(SerialConnection.java:72)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:636)
java.lang.NullPointerException
at sms.SerialConnection.openConnection(SerialConnection.java:89)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:40)
at java.lang.Thread.run(Thread.java:636)
In case any of you have Java code for receiving SMS, please do mail me at [email protected]
Thanks!
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. Hello, I'm using the above codes for my project. B
View Tutorial By: Sandeep Dattaraju at 2011-02-26 11:01:48
2. @Eric
You would have to know the lo
View Tutorial By: Guy at 2010-09-27 17:18:31
3. hi i want to know
can i sent picture of si
View Tutorial By: Nauman Khalid at 2011-12-10 11:50:39
4. Hey there, I was needing something exactly like th
View Tutorial By: Jeffry at 2013-03-26 03:33:27
5. it's very usefull to the users who were in startin
View Tutorial By: Harichandana at 2013-02-28 04:37:17
6. Hi every one. I am working on my project in j2me a
View Tutorial By: wazir at 2010-11-26 08:27:43
7. i am developing a video streaming PC server to j2m
View Tutorial By: lama at 2010-04-17 01:27:27
8. thank u sir ,this helped a lot
************
View Tutorial By: yugandharr at 2012-09-11 15:47:19
9. Hagti hain.. the complete program has been copy pa
View Tutorial By: Macho Man at 2012-06-21 07:58:03
10. Yesterday afternoon, I tried a lot of different su
View Tutorial By: Leo at 2011-07-26 04:19:15