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. this is a very good artical about floating &
View Tutorial          By: Gayathri at 2012-10-31 12:19:28

2. this is the output i get.
Help me.
<

View Tutorial          By: shubham saxena at 2014-04-01 17:06:00

3. protected void finalize() {
System.out.pr

View Tutorial          By: Gan at 2011-07-11 12:08:24

4. i'm doing project on hotel management...
an

View Tutorial          By: prashant patil at 2012-08-19 05:16:20

5. pls tell me how to insert data in database .
View Tutorial          By: sankar at 2009-10-22 05:37:45

6. Nice one....
View Tutorial          By: vinod at 2010-05-06 23:36:15

7. It's Very Nice. Particularly:
DO use memmov

View Tutorial          By: Rasmi Ranjan Nayak at 2010-01-12 04:40:18

8. example is ok, but plz increases the standard of e
View Tutorial          By: venky at 2009-05-19 01:29:04

9. thank u.....
View Tutorial          By: DiptaRanjan at 2013-02-02 14:56:45

10. i want to SCJP exam ,tell how to apply for this ex
View Tutorial          By: jasmina at 2013-04-22 11:05:53