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 05:19:38

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

I tried use this code:

package sms;

public class Main {

public static void main(String[] args) {
// TODO code application logic here
SMSClient sc = new SMSClient(0);
sc.sendMessage("505050702","Hello");
}

}

And I have error when tried to run in NetBeans and in console:
Exception in thread "main" java.lang.NoClassDefFoundError: sms/SMSClient (wrong name: SMSClient)

Pls. help
Yanosh


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. great !!!!!!!!!!!!!!!!!!!!!
View Tutorial          By: arjun at 2012-03-24 14:55:10

2. In 6th point .....there is a spelling mistake...mi
View Tutorial          By: Gnani at 2009-09-22 12:25:59

3. Thanks a lot!!!

Its very useful exp

View Tutorial          By: dipali at 2012-12-31 06:49:41

4. Can you help me input 15 states and capitals in 2
View Tutorial          By: Hardik Negandhi at 2015-06-24 11:18:51

5. Hi,
Very Nice explanation ,I tried both mem

View Tutorial          By: Harsh Verma at 2013-01-30 13:43:05

6. read and write methods given here are for a file w
View Tutorial          By: Tavva Yaswanth at 2012-10-28 08:02:10

7. # include <iostream.h>
void main()
View Tutorial          By: Ali Jafar at 2011-09-18 03:47:47

8. package practice_bo;

import practic

View Tutorial          By: nishi at 2011-12-09 02:00:20

9. it is very useful and in understandable manner
View Tutorial          By: Deepika at 2012-03-26 05:10:15

10. In the above example..where you make the GC1 objec
View Tutorial          By: prasad at 2014-12-11 11:12:28