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 have this line of code but i don't understand
View Tutorial          By: Xris at 2011-11-08 06:01:01

2. Thanks ... nice one with clear picture.
View Tutorial          By: Nithin at 2012-04-01 06:58:41

3. Hey thanks for your tutorial.

But i

View Tutorial          By: Matze at 2013-07-19 16:08:46

4. What is the difference between an Interface and an
View Tutorial          By: RAJA at 2015-06-26 17:28:31

5. hi! this coding is very helpful for me thanks .
View Tutorial          By: bhuvaneshwari at 2009-10-18 23:52:58

6. plz,sent me a sample j2me programm for chnging col
View Tutorial          By: su at 2007-12-19 21:54:30

7. It is very simple and understandable tutorial, the
View Tutorial          By: Syed Turab at 2010-03-09 07:27:15

8. what about (!isset)?? the isset with "!"
View Tutorial          By: bali web design at 2011-04-21 12:51:38

9. do we require a gsm modem for sure ? aren't there
View Tutorial          By: sherry at 2012-07-10 11:28:58

10. thanks for posting
View Tutorial          By: sriram at 2011-11-24 06:38:42