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:03:19

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



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. Hi there, what a nice example, very useful for me
View Tutorial          By: Yanny at 2009-12-10 12:34:26

2. hello sir

i am simulating railway r

View Tutorial          By: karthick at 2008-08-30 03:09:42

3. thanks for this sample.. it possible to handle the
View Tutorial          By: nel at 2011-06-13 22:59:45

4. could you please send me a complete appointment re
View Tutorial          By: Jaylon aron at 2010-02-21 02:22:57

5. Hello,
I've tried the above code, but I've

View Tutorial          By: Phyo Phyo at 2009-09-14 05:32:28

6. thanks for providing data which is usefull to begi
View Tutorial          By: jeyakumar j at 2010-07-06 09:46:17

7. public void playSound(String filename) {

View Tutorial          By: Rowan at 2014-07-17 10:26:02

8. nice one ...
View Tutorial          By: vamsi at 2011-11-11 06:41:25

9. Hii.... We are B.Tech 4th year students. We are wo
View Tutorial          By: Shipra Malik at 2010-08-17 03:32:34

10. how do i cast the contents of the arraylist to dou
View Tutorial          By: ronnie at 2010-01-27 00:04:25