SMS Link And this works...">

Link Android sms with body parameter

I have an sms link on a web page:

<a href="sms:+15553332222?body=message">SMS Link</a>

And this works fine on my Nexus (the gingerbread cake works), but two other phones (like HTC on the gingerbread cookies with Sense UI) will not open the "Invalid recipient" link. If I remove the body parameter on the link, it works fine, but I need the body parameter. I tried a number of different formatting, including +15553332222, 15553332222, 5553332222, +1-555-333-2222and 555-333-2222. I also tried to use sms:, smsto:and mms:with the same result.

Am I doing it wrong? Is this a known issue for HTC phones? If so, is there work around?

+3
source share
2 answers

I have the same problem and I just walked over.

Using

<a href="sms:+351234567;body=hello%20world">One number with body text sep ;</a>

msisdn, " : <body=hello world>"

Android 4.0.3

HTC Sence 3.6

0

<a href="sms://+35555&body=Helloworld">

://

0

All Articles