File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Mobile connectivity and SMS sending Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Mobile connectivity and SMS sending " Watch "Mobile connectivity and SMS sending " New topic
Author

Mobile connectivity and SMS sending

Madhurt Telang
Greenhorn

Joined: Apr 30, 2011
Posts: 10
hi,

I am looking for an API for connecting my cell phone to PC and send SMS through it.i have no idea how it is done. if any one knows how it is done please share with me.thanks!


Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4163
    
    3

AFAIK there isn't a Java API for that, unless the manufacturer of your handset has provided one. You would need to use a communication API (RXTX?) and send the AT commands to the phone, which the PC commonly sees as a GSM Modem.

This suggestion does depend on you cell phone model and OS; a Windows Mobile device isn't seen as a modem by the computer it's tethered to.

It may be easier (and cheaper) to use a SMS gateway service.


luck, db
There are no new questions, but there may be new answers.
Madhurt Telang
Greenhorn

Joined: Apr 30, 2011
Posts: 10
what about COM port is it of any use???
Martin Vajsar
Bartender

Joined: Aug 22, 2010
Posts: 2318
    
    2

There is no standard observed by manufacturers of mobile phones that would govern PC-to-mobile communication, including sending SMS. Most mobiles I've had in recently had an accompanying software that allowed me to write SMS on PC and send it via the phone. So it is doable, maybe even from Java (using JNI certainly), but it will be manufacturer- and probably even model-specific and you'd have to obtain the specification for the communication somehow. That might be the hardest part actually.

Lots and lots of hard work for little value, I'd say.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mobile connectivity and SMS sending
 
Similar Threads
WMA MIDlets, how do you receive sms without a port no.
Open or start a file using JSP
How to detect incoming SMS
SMS using JSP
how to get message from mobile to midlet