dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by MKBridge 1 year 3 weeks ago

pic
 MKBridge
mobiForge Newbie
Posts: 2
Joined: 1 year ago
[offline]

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

pic
 MKBridge
mobiForge Newbie
Posts: 2
Joined: 1 year ago
[offline]

THAT SHOULD BE TEXTING button.......

Posted by garbetjie 1 year ago

pic
 garbetjie
Mobile Guru
Posts: 70
Joined: 3 years ago
[offline]

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 +27000000000 is the mobile number to direct the message to.).

Alternately, if the uriSchemeSmsTo property is true, you can invoke the messaging centre by changing sms: to smsto:.

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 the smsto: scheme, and will otherwise default to sms:.

Posted by libertysridhar 50 weeks ago

pic
 libertysridhar
mobiForge Newbie
Posts: 2
Joined: 50 weeks ago
[offline]

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!
Ipad App Developers

Good Luck! Iphone App Developers