Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending SMS

 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchies.,
i need to send a SMS and receive the SMS through Java code is thier any API's.
and i need know how can i do that, from where i need to purchase.
please help me
 
Reza Mochamad Diannagara
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use java communication API,
but you need to connect to a cell phone using com port.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The last entry of the http://faq.javaranch.com/java/JavaIoFaq talks about this.
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ulf Dittmer

i saw the thread which is using smsj and also register to the clickcell got the account.

i write the code as follows:
but i'm getting the beelow error

need help.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have that class in your classpath?
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i downloaded this slf4j-1.5.0 but it is having more than 20 jar in that which i want to deploy into my classpath.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a problem with deploying 20 jar files? Have you read the documentation if it talks about which ones are required? Have you tried just using the one that contains the missing class?
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after deploying all the jar its giveing this exception

Exception in thread "main" java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:343)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:153)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:219)
at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All API need some carrier to send messages? DO we have any software of carrier who supports free SMS from Internate to Mobile?
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently I am working on creating SMS message and thinking of using SMPP API mentioned here
http://sourceforge.net/project/showfiles.php?group_id=26854
And there is one more Open SMPP2.0.
Now which one is better.

Now the sample given here is a sample of SMS gateway? How different this is from Kannel?
 
bitan saha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys no need to take in all the jars. just go for the one's given below:

jcl-over-slf4j-1.5.8.jar
jul-to-slf4j-1.5.8.jar
log4j-over-slf4j-1.5.8.jar
slf4j-api-1.5.8.jar
slf4j-ext-1.5.8.jar
slf4j-migrator-1.5.8.jar
slf4j-nop-1.5.8.jar

 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the advice, but did you notice this thread was over a year old?
 
bitan saha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

I know it's an old thread. I just posted it because I thought may be someone else might get help out of it. I didn't have any other intention apart from that. .

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic