Is it possible for a mobile browser to send an SMS using the device's built-in capabilities? By that I mean, NOT using some online SMS services provider but actually making the mobile device send the SMS (same you would do using J2ME).
7 Answers
There are lots of different mobile browsers out there, so I doubt that this is standardised. Safari/iPhone supports SMS URIs, which strikes me as a sensible approach to the problem and one that might be more widely supported than just the iPhone.
Based on the link (above) I found, and a comment from Zamel, I suspect this would work:
<a href="sms:+447787000000">SMS</a>
Although with a real phone number, and possibly escaping the + sign as %2B.

- 914,110
- 126
- 1,211
- 1,335
-
A small mistake, it should look like that: SMS – Zamel May 12 '09 at 07:06
Some versions of the Opera Mini browser provide a javascript interface for authoring SMS messages to be sent from the user's phone.
Also, some versions of Nokia's Symbian browser include a javascript interface with similar functionality.
There might be others, but these are the only two I've found documentation for so far.

- 33
- 6
Its not possible . You can call device functionality from browser . That is the way to go about it . Webkit lets you do it
Android and blackberry support "mailto:" and "tel:".
Android supports "sms:" (and maybe iPhone, I don't have one :))
good luck and please post your result.

- 535
- 2
- 13
I think a GSM modem is capable of acting as a SMS Gateway but you have to have the software installed on the modem to do this. You might also look into the Carrier Gateway Emails to SMS as another option. Example is AT&T number@txt.att.net
There are a couple of free services popping up these days like ZeepMobile that you might also want to look into.
What exactly are you trying to accomplish?

- 83,471
- 91
- 263
- 383
-
I want to let the user send an SMS from his WAP browser in order to register to some service. He would get a confirmation SMS back. – Zamel May 12 '09 at 05:58
-
ZeepMobile uses a HTTP post as a API to their SMS gateway. You could have the browser do the post and then the user would get a SMS text message. They do have ads at the bottom of the SMS message but it's the only service that offers a Short Code to send SMS messages on for free. – Phill Pafford May 12 '09 at 12:47
No as a mobile browser is specifically built to render markup (html) documents. Therefore, if you wanted to send SMS via a mobile browser it would call a web server page and send from the server NOT the mobile browser.
Mobile OS and their applications have quite a lot of limitations. The closest you will see is the ability to hyperlink a phone # in a mobile browser to send a message but it will be handled via their SMS app not the browser.

- 143
- 2
- 9
-
You mean that the SMS will be sent by the device and not by the browser? That's OK, exactly what I need. – Zamel May 12 '09 at 05:59
It's a good thing that is not possible. It would be quite a security risk IMHO. I imagine spammers would be all over it.

- 22,978
- 13
- 65
- 96
-
You do not explain to him why and how. I understand what you mean though, but it's not clear enough. What he meant was "while allowing the user to validate", and you assumed "silently"... – Kheldar Aug 14 '11 at 12:48
-
-
You don't. You get a reputation hit from downvoting my answer. See the FAQ. – Sander Marechal Aug 15 '11 at 04:39
-
Ah OK, not sure if it makes sense to me but whatever, as long as there is a reason :D – Kheldar Aug 15 '11 at 08:41