wood burning stoves 2.0*
The moose likes Java in General and the fly likes Send SMS using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Send SMS using Java" Watch "Send SMS using Java" New topic
Author

Send SMS using Java

Balasubramaniam Muthusamy
Ranch Hand

Joined: Nov 30, 2010
Posts: 51
Hello Everyone,
Just I would like to know, is there any way we can send SMS through java. I have with me only broadband connection. No GSM Modem. Thanks is advance


Regards,
Bala
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Do you mean "send SMS in general" or "send SMS from you phone"? If the former, then the JavaIoFaq has some useful links.
Balasubramaniam Muthusamy
Ranch Hand

Joined: Nov 30, 2010
Posts: 51
Thanks for your rely. I meant i need to send from my PC to mobile phone using java
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Yes, but do you want to send the SMS using your mobile phone, or just send an SMS in general? There are ways of sending SMS that do not involve an actual device for sending.
Balasubramaniam Muthusamy
Ranch Hand

Joined: Nov 30, 2010
Posts: 51
without mobile phone i need to send using some java API.. thanks
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
In that case, the information in the link I posted should get you started.
Balasubramaniam Muthusamy
Ranch Hand

Joined: Nov 30, 2010
Posts: 51
Thanks so much for your quick reply...Do we have any free ware API?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

Unlikely. In the end, someone has to pay for the SMS messages to be sent. That's going to be one of the following:
1) the sender
2) the SMS gateway provider
3) the telecom provider
4) the recipient

2) and 3) would have to pay way too much for all these SMSes to be sent. 4) will not be happy to pay for all SMSes he/she did not request. That leaves 1): the sender, a.k.a. you.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Sree Kumari
Ranch Hand

Joined: Aug 16, 2005
Posts: 50
Try out this site.THis is a free sms gateway.I have tried it PHP.

http://www.ozekisms.com/index.php?owpn=581&info=developers-guide/java-sms-api
Balasubramaniam Muthusamy
Ranch Hand

Joined: Nov 30, 2010
Posts: 51
Thank you so much for your replys. is it working in PHP? Thanks
Sree Kumari
Ranch Hand

Joined: Aug 16, 2005
Posts: 50
There is a similar one for PHP provided by Ozeki SMS .I tried it and it is working.I installed Nokia PC suite to get the GSM modem driver in the machine and connected My mobile which acts as the modem. think the in Java also it will work
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send SMS using Java