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. Nice one....
View Tutorial          By: vinod at 2010-05-06 23:36:15

2. Good one. Keep up the good work.
View Tutorial          By: zubair at 2012-02-23 10:18:36

3. hi,
i have tried to download the sun api fr

View Tutorial          By: raghu at 2009-01-07 05:45:33

4. Its very clearly explained.
View Tutorial          By: sowjanya at 2013-10-04 09:26:04

5. i appreciate the article for being straight to the
View Tutorial          By: shey-poun at 2011-12-14 06:39:51

6. DOBN'T USE THIS SHIT
IT IS STRONGLY DISCOUR

View Tutorial          By: DD at 2011-09-13 13:00:30

7. 2nd example not gud
View Tutorial          By: prakash at 2011-11-15 11:07:43

8. Hello Mr. Developer of above proj....plz let me kn
View Tutorial          By: Prakash Vishwakarma at 2011-07-08 10:02:22

9. give me the code
View Tutorial          By: roger at 2013-10-10 19:44:07

10. Good info.. keep providing..
View Tutorial          By: Shoaeb uddin khaleefah at 2010-07-27 05:28:19