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



Comment Added by : Yanosh

Comment Added at : 2009-07-16 06:00:14

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

How to implement this 5 files in a program ?

I tried this:
package sms;

/*
* @author Administrator
*/
public class Main {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
sms.SMSClient sc = new sms.SMSClient(0);
sc.sendMessage("505050702","Hello");
}

}

But I have error when run:
Exception in thread "main" java.lang.NoClassDefFoundError: sms/SMSClient (wrong name: SMSClient)


Please send me some working demo on [email protected]

Thx


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. a very good explanation
View Tutorial          By: ramakrishna at 2012-12-20 04:06:12

2. Does anybody know how to force using IPv6 by my la
View Tutorial          By: Marcin at 2011-05-17 05:24:51

3. This was very helpful! Thanks!!!
View Tutorial          By: Andreas Clausen at 2009-09-03 15:07:14

4. very well to understand
View Tutorial          By: Siva Krishna N at 2007-02-16 23:06:07

5. I did this exactly.
In my case, the fix.php

View Tutorial          By: Manorasa at 2010-06-29 23:32:24

6. Works like a charm for me ! but i stuck with an is
View Tutorial          By: santosh at 2014-12-17 12:44:09

7. i want to learn the java from basics onwards.
View Tutorial          By: vinay at 2010-03-08 22:54:15

8. Thanks, Just what i was looking for.
View Tutorial          By: Baapu at 2009-10-21 15:21:43

9. can u plz send me the source code for employee sal
View Tutorial          By: prudhvi at 2013-01-27 13:47:12

10. imgView.setBackgroundResource(R.drawable.ani); i g
View Tutorial          By: mamu at 2012-10-18 14:41:31