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 [email protected]

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. very useful
View Tutorial          By: Ruchika at 2011-07-10 05:15:05

2. The code gives the following exception :-
<

View Tutorial          By: VIKRAM at 2007-03-11 22:56:16

3. syntax of java program in looping statement
View Tutorial          By: lokesh at 2009-03-25 06:57:56

4. this works
-------------------------------

View Tutorial          By: Aeron at 2013-10-20 04:50:51

5. Hi All,

This SMS code is working fi

View Tutorial          By: Munavar at 2008-01-27 22:53:31

6. i need to code for sparse matrix in java. please
View Tutorial          By: sudhi at 2012-10-01 09:34:57

7. vry nice example....thanx..
View Tutorial          By: rekha at 2010-09-14 11:55:38

8. these tutorials are very simple to understand. I
View Tutorial          By: sagar at 2009-05-09 23:31:01

9. thanx.thats a useful material for the students, in
View Tutorial          By: MUHAMMAD ABUBAKAR YASEEN at 2010-10-28 04:19:00

10. EJB's can be deployed on multiple servers and when
View Tutorial          By: Tomek at 2011-09-12 12:29:07