I'm going to use a method to let user that use mobile browser to send the code of the product they want by SMS. Currently I use something like:
<a href = 'sms:7xxxxxx?body=product-number23xx'>Buy product-number23xx</a>
<a href = 'sms:7xxxxxx?body=product-number24xx'>Buy product-number24xx</a>
<a href = 'sms:7xxxxxx?body=product-number56xx'>Buy product-number56xx</a>
It works on Symbian and Java platforms but it doesn't work correctly on all mobiles platforms like Darwin, Windows CE, Mobile OS. Any body can help me to say the sample code for other platforms?
I also see this question and I tried mailto:
and tell:
but the first one opens email client and the second one just add the number to that mobile contacts!
Try "smsto:", some older browsers support it. I also believe that the detailed information regarding specific devices is available via WURFL (https://db.scientiamobile.com)
iOS SMS URL scheme (sms://) doesnt support embed body !
You need to update links for Android users.
i.e. if client browser is android then you need to configure link as below.
<a href="sms:+19725551212?body=hello%20there">SMS Me</a>
Ref: SMS URL on Android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With