I was wanting to know if Android had a similar feature to the iPhone in that you can use an HTML A tag to send an SMS by setting the HREF
attribute to the phone
href="sms:+xxx" works on my stock HTC Desire Android 2.2 browser and the Sense SMS app, but sms:+xxx?body= doesn't - error: invalid recipient(s). I was only really interested in setting the body - anyone seen / solved this problem?
My test page is here: http://jsbin.com/itama4/15
If you wants to allow in Android and IOS, Following trick worked for me in both devices.
Without adding number :
sms:?&body<Your message goes here>