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. i fixed it already...

how can I get

View Tutorial          By: kathleen ashley at 2010-08-08 04:51:26

2. Sir , I am doing MSc(swe) . I want to know more ab
View Tutorial          By: guru prakash at 2009-10-15 09:10:05

3. i m new in java plz send some programs on packages
View Tutorial          By: zainul hasan mirza at 2009-08-31 02:28:32

4. dear sir, plz answer my following questions:

View Tutorial          By: hawa at 2012-01-29 08:29:39

5. thank you sir, please provide me string array in d
View Tutorial          By: ravi gupta at 2012-01-17 17:04:33

6. Can you send me the full code for sending sms usin
View Tutorial          By: Tamizh chelvam at 2014-03-24 17:30:52

7. very nice i now understand what the allocated part
View Tutorial          By: Digistr - digistrscape (youtube.com/digistrscape) at 2010-01-30 01:17:19

8. hi sr.
do u have any idea have any idea how

View Tutorial          By: mirna at 2012-03-27 05:47:34

9. Hi
I am newly in java. I have one dought.

View Tutorial          By: Dinakar at 2008-07-26 01:13:08

10. I am certifed java Business Component Developer, m
View Tutorial          By: Kobs at 2013-02-26 11:58:22