Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending an SMS from mobile browser

Tags:

browser

sms

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).

like image 712
Zamel Avatar asked May 11 '09 15:05

Zamel


2 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.

like image 78
Quentin Avatar answered Oct 28 '22 00:10

Quentin


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.

like image 31
ewheeler Avatar answered Oct 27 '22 23:10

ewheeler