开发者

how to send a link in SMS message?

I want to send a link for www.google.com in sms, but I want that its shows only "Google". when user click on "Google" its link www.google.com shou开发者_JAVA技巧ld be open. How can I do that?


You cannot, SMS messages aren't composed in HTML, and don't support the concept of hyperlinks. Why don't you just send a link to http://www.google.com and let the phone figure out what to do with it? In the worst case the receiving user would have to open the message in edit mode, copy & paste the URL into the web browser.


Now, You can using google shortlink api and then send the link as a text in the share intent . And also google app invite. And Firebase app invite too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜