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



Comment Added by : VIRAJ

Comment Added at : 2012-12-26 11:56:24

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Thanks it worked for me after lot of search for COM port..
Hey Johnson u need to create another class with main()
e.g
public class TestClass {
public static void main(String args[]){
SMSClient smsc=new SMSClient(1);
int r=smsc.sendMessage("+919920722648", "Thanks for shopping @Nexus books! Your order is dispatched today @5:07pm");
System.out.println("done! "+r);
}
}


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. Good example thank you so much
View Tutorial          By: Albadri at 2011-05-14 15:48:17

2. these tutorials are very simple to understand. I
View Tutorial          By: sagar at 2009-05-09 23:31:01

3. The DirSync sync intervals can be changed.

View Tutorial          By: Nitin at 2012-12-22 16:20:38

4. dear i have different files of ms access 2010 like
View Tutorial          By: neeo at 2012-01-16 07:02:20

5. Hi everybody.i m new to java.dont know how to deve
View Tutorial          By: saranya at 2011-01-31 22:40:17

6. Many thanks for your nice explanation.
View Tutorial          By: Zahra at 2012-04-10 06:03:56

7. This is not an easy example for begineer, please t
View Tutorial          By: Arif Islam Nayan at 2009-12-16 08:24:57

8. good....
View Tutorial          By: Rini at 2013-01-08 10:44:54

9. thanks happy to see such a site about java!
View Tutorial          By: nnnmore at 2007-03-16 06:29:20

10. Thank you very much. Very useful. You are the best
View Tutorial          By: lin at 2011-01-19 00:09:35