Posted by MKBridge 1 year 3 weeks ago
Hi:
I have a client that wants a button on his mobile site that links directly to to users texting. So when the user depresses the button, the messaging centerr opens up with my clients number already filled in. Can this be done, and if so, instructions would be greatly appreciated. Thanks Kathi




Posted by MKBridge 1 year ago
THAT SHOULD BE TEXTING button.......
Posted by garbetjie 1 year ago
I assume you're using Device Atlas to first check whether the mobile device supports this?
If so, you'll be looking for the uriSchemeSms and uriSchemeSmsTo properties.
If the uriSchemeSms is set to true, then you'll be able to invoke the messaging centre by providing a URL such as this:
<a href="sms:+27000000000">Display text</a>(where+27000000000is the mobile number to direct the message to.).Alternately, if the uriSchemeSmsTo property is true, you can invoke the messaging centre by changing
sms:tosmsto:.Personally, I don't check whether the device supports either one. I will check whether the device supports
smsto:. If it does, I'll display the link using thesmsto:scheme, and will otherwise default tosms:.Posted by libertysridhar 50 weeks ago
Hi
I agree with Garbetjie, playing around changing a few settings which suits the best could possibly solve your problem. If you have any other issues we are always here to help.
Good Luck!
Good Luck! Iphone App DevelopersIpad App Developers