Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Magazine Java Core GUI APIs: clickatell sms
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


ebuka
Java Core GUI APIs: clickatell sms
1 Answer(s)      4 years and 3 months ago
Posted in : Java Magazine



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)

Advertisement
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:
Java Core GUI APIs: clickatell sms - Java Magazine
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
how to save a gui form in core java
how to save a gui form in core java  please help me i am java beginner how to save a jframe containing jtable and panels in java thank you
Advertisements
Java SMS Progam
Java 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 sms problem
java 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
sending sms with help of java - JavaMail
sending sms with help of java  hi can u plz help me to learn how to send sms with help of java. waiting for your reply
SMS using Java
SMS using Java  I am having a concern , where is the main class in SMSClient.java, if this seems silly please let me know How to execute this java program ?? I am trying to execute this a java application in my eclipse
Sending SMS From Java Programs
Sending SMS From Java Programs  I want to develop and application to send sms from my computer, can someone please help me, like tell me where to start and what i need
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
Sms to mobile using java application
Sms to mobile using java application  Hi, i want to send sms to mobile using java application. But i dont have any idea for this procees. So kindly suggest me any ideas. regards vijayalakshmi
Java GUI
Java 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
sms - Java Server Faces Questions
sms  hello .... can any body tell me how to send sms from pc to mobile using java ..an if possible please give me the code in jsp..... my email id is:bharachaitanya@yahoo.co.in
SMS sending questions using java - MobileApplications
using java language for sending SMS...SMS sending questions using java  am doing project sending SMS from pc.how to send bulk SMS ?i achive sending single SMS .but i would like to send
j2me sms coding - Java Beginners
j2me sms coding  please send me the source code to send sms and making a call from mobile
SMS Receiving JAVA application from GSM modem
SMS Receiving JAVA application from GSM modem  Hey does any one having SMS reeving JAVA application
Java GUI
Java GUI  difference between swing and applet
Java GUI - Java Beginners
Java GUI  HOW TO ADD ICONS IN JAVA GUI PROGRAMMES
core java
core java  how to display characters stored in array in core java
core java
core java  basic java interview question
CORE JAVA
CORE JAVA  CORE JAVA PPT NEED WITH SOURCE CODE EXPLANATION CAN U ??   Core Java Tutorials
core java
core java  i need core java material   Hello Friend, Please visit the following link: Core Java Thanks
core java
core java  Hi, can any one expain me serialization,Deseralization and exterenalization in core java
core java
core java  Hi, can any one exain me the concept of static and dynamic loading in core java
java code for sending sms - JSP-Servlet
java code for sending sms  hello sir, I want a code for sending sms on mobile . please send me if u have this Thanks & regards Dharmendra
Core JAva
Core JAva  how to swap 2 variables without temp in java
core java
core java  how can we justify java technology is robust
CORE JAVA
CORE JAVA  What is Garbage collection in java? What is the role of a developer for garbage collection
core java
core java  its compulsory to save file name and class name is same in java
Core Java
Core Java  How to execute cmd command through java?? Give Code of them
core java
core java  write a java program to view product details from product table
Java GUI - Java3D
Java 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
Core Java
Core Java  Hi, Can any one please share the code for Binary search in java without using builtin function
 

 

 

DMCA.com