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. I just copied this example to my app. It's not wor
View Tutorial          By: Praveen Kumar at 2011-11-17 12:59:40

2. What if I wanted POST instead of GET?
View Tutorial          By: Otto at 2011-06-12 15:38:50

3. Right, so were is the tutorial files.zip?
O

View Tutorial          By: jeremy at 2011-10-24 15:58:40

4. please send me Java programs
View Tutorial          By: Jayita at 2009-11-06 08:19:59

5. Can anybody tell.... what if condition is doing in
View Tutorial          By: Randhir Sambyal at 2013-08-26 06:37:25

6. I really helped with this tutorial.
In case

View Tutorial          By: maya at 2008-07-30 00:35:51

7. Hi, i am new java, and i want to become gud develo
View Tutorial          By: amit at 2012-02-16 12:21:25

8. HI can you send "send sms" program throg
View Tutorial          By: Nishanth Chandran Poduval at 2010-04-15 00:31:33

9. what does argc means?
View Tutorial          By: Don Panganiban at 2009-10-09 21:19:48

10. i WROTE A FILE READER LIKE IT WAS IN THE SAMPLE BU
View Tutorial          By: LILI at 2011-11-06 01:47:20