How to send a hyperlink to a mobile via SMS or MMS

我只是一个虾纸丫 提交于 2019-12-08 11:56:26

问题


I have been looking for a way to send a hyperlink of a URL with a different appearance to a mobile phone via SMS or MMS.

The only example of this that i can think of is the following:

[url=http://www.google.co.uk]Click Here[/url] 

So the above code will show:

Click Here

when you click the 'Click Here' link it will open up http://www.google.co.uk.

Is there anyway that this can be replicated by using SMS or MMS?


回答1:


As far as I know, there is not a generally accepted specification for rendering text messages with modern content. Though certain mobile operating systems (or rather messaging applications to be precise) might support inline links, it is not fail-proof and it won't work on every device.

Also, those smart-ish applications would not rely on a custom syntax but rather search for urls and make those clickable. That means it's not possible to set a custom text for a hyperlink in this context.




回答2:


You can´t include hiperlinks in text messages, although most mobile browsers allow click in links. Also You could send a wap push (it´s a special binary sms) that it includes one link.



来源:https://stackoverflow.com/questions/12496035/how-to-send-a-hyperlink-to-a-mobile-via-sms-or-mms

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!