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 yanosh@wp.pl

Thx


View Tutorial



Ask a Question

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. java is new for me..... since i dont know from bas
View Tutorial          By: m.padma at 2011-08-08 15:40:23

2. Thank you sir for your valuable guidence on garbag
View Tutorial          By: Rahul at 2011-06-13 04:40:52

3. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

4. Hi, If any body was able to send the message suces
View Tutorial          By: Pradeep Singh Chouhan at 2011-03-02 23:03:05

5. thanks. worked.
View Tutorial          By: che at 2010-03-10 11:29:10

6. thanks for all samples..
View Tutorial          By: 珠洲市 at 2013-03-01 09:47:46

7. I am getting this error with Minecraft; Feed the B
View Tutorial          By: LadyKianna at 2013-03-11 05:52:54

8. Hi,,i try this tutorial,,it working,,but it kind o
View Tutorial          By: Eka Praditya at 2013-07-02 04:11:41

9. i have to retrieve data from database which is on
View Tutorial          By: abhishek at 2012-04-05 05:04:01

10. The example is good but there is an easy to iterat
View Tutorial          By: manish at 2013-03-24 16:21:03