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



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. Hi,

As you shown here that we have

View Tutorial          By: Keyur at 2011-04-05 03:30:12

2. Hello all,
Please help me out. I want to cr

View Tutorial          By: Richa Bhatia at 2009-12-07 22:55:54

3. good example need some more explanation on notify
View Tutorial          By: prashant at 2009-09-08 19:29:54

4. Thank you
View Tutorial          By: Angeline at 2011-06-28 06:27:12

5. i need java simple programs
View Tutorial          By: Tharani at 2010-01-22 06:39:25

6. its cool, you've cleared me.
View Tutorial          By: zealous at 2013-09-10 17:40:26

7. in statment -
new Treeset<String> (ne

View Tutorial          By: Siddhesh Khedekar at 2009-10-27 00:14:17

8. Thanks for the simple tutorial on hashmaps. I am n
View Tutorial          By: ipkwena at 2013-08-19 09:02:49

9. while compiling above program, iam getting this ER
View Tutorial          By: ss chary at 2013-07-15 08:06:18

10. plz send inheritance concept,how to use final,thi
View Tutorial          By: sobha at 2010-02-14 08:29:33