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



Comment Added by : Manjunath Suresh Vaidya

Comment Added at : 2011-03-09 04:46:57

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Solution for javax.comm.NoSuchPortException
String driverName = "com.sun.comm.Win32Driver";
try{
CommDriver commdriver =
(CommDriver)Class.forName(driverName).newInstance( );
commdriver.initialize();
}
catch (Exception e2)
{
e2.printStackTrace();
}
Enumeration ports = CommPortIdentifier.getPortIdentifiers();


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. i am getting force closed with this code...

View Tutorial          By: kamlapati at 2011-07-16 06:06:31

2. Very good example with explaination and sample cod
View Tutorial          By: plenitude at 2010-04-15 23:55:02

3. hi ashraf , ramlak and all,
i m new here .

View Tutorial          By: hemendra at 2009-12-28 21:59:34

4. Hello my question is that . I want to run a audio
View Tutorial          By: Bharath at 2011-08-09 04:14:53

5. hi i am new to JSP wht is class.forname in the cod
View Tutorial          By: chanti at 2011-05-07 03:02:26

6. very helpful & gud tutorial...
thanks..

View Tutorial          By: Narpinder Sharma at 2011-06-27 03:12:20

7. Nice example. I think this is more idiomatic tho'.
View Tutorial          By: John Morrison at 2010-03-28 14:55:07

8. php-cgi.exe return popup "is not a valid Win3
View Tutorial          By: noob at 2013-06-30 09:47:38

9. it is a big help for us , as a IT student that kn
View Tutorial          By: nelson kent recites at 2012-01-19 08:56:26

10. your code helps a lot.....
thanx......

View Tutorial          By: beh at 2009-08-19 06:06:20