Java Core GUI APIs: clickatell sms
Hello friends,
I have to send sms through my application.I am using clickatell.
I find the code as--
// Send SMS with clickatell
SmsSender smsSender = SmsSender.getClickatellSender("username", "password", "apiid");
// The message that you want to send.
String msg = "A sample SMS.";
// International number to reciever without leading "+"
String reciever = "461234";
// Number of sender (not supported on all transports)
String sender = "461235";
smsSender.connect();
String msgids[] = smsSender.sendTextSms(msg, reciever, sender);
smsSender.disconnect();
I add the smsj-20051126.jar But still getting error as--
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactoryat org.marre.sms.transport.clickatell.ClickatellTransport.<clinit>(ClickatellTransport.java:85)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
View Answers
March 17, 2012 at 5:17 PM
Hi,
Error showing that slf4j-api-1.5.8.jar is missing in your code. try appropriate version slfgj-api and try it.
Related Tutorials/Questions & Answers:
Advertisements
java gui java gui friends... good day..
i have doubt in
java gui.
? i created 1
java gui application. That has two text fields jtext1,jtext2.
case: user entered value in first textfield(jtext1) and pressed the enter key . the cursor
Java GUIJava GUI 1) Using
Java GUI, create a rectangular box that changes color each time a user click a change color button.
2) Modify Question 1 to include a new button named insert image, that allow user to insert a bitmap image
Java GUIJava GUI difference between swing and applet
GUIGUI How to
GUI in Net-beans ... ??
Please visit the following link:
http://www.roseindia.net/
java/
java-tips/background/30java_tools/netbeans.shtml
Java SMS ProgamJava SMS Progam Hai to all,
I have to send
SMS alerts in my applicaton in
java technology with out using any gateways and GSM Modems.
Thanks
Java GUI - Java3DJava GUI 1) Using
Java GUI, create a rectangular box that changes color each time a user click a change color button. 2) Modify Question 1 to include a new button named insert image, that allow user to insert a bitmap image
java gui-with jscroll panejava gui-with jscroll pane Dear friends..
I have a doubt in my
gui application.
I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width
java gui-with jscroll panejava gui-with jscroll pane Dear friends..
I have a doubt in my
gui application.
I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width
GUI problem - Java BeginnersGUI problem how to write
java program that use JTextField to input data and JTextField to display the output when user click Display Button?? Handle the actionPerformed event for JButton and try doing something like
java sms problemjava sms problem i am developing web site in which i have to maintain
sms system where one can message his/her detail and it should be stored in the database.please give me some idea how to maintain it as i am beginner.Thank you
GUI 2 - Java BeginnersGUI 2 How can I modify this code? Please give me a
GUI...;
GUI Example");pack();show();}public void actionPerformed(ActionEvent event... world and like it alot. I was wondering where can I go to learn more about
java Java GUI codeJava GUI code Write a
GUI program to compute the amount of a certificate of deposit on maturity. The sample data follows:
Amount deposited: 80000.00
Years: 15
Interest rate: 7.75
Total Amount:
Hint** to solve this problem
Java GUI - AppletJava GUI HELLO,
i am working on
java chat server, i add JFrame and make
GUI structure by draging buttons and labels, now i want to insert... but not resolve my prob.
dear friend, i add JFrame Form in
java package and put