Gaurav Gupta
Gaurav Gupta

Reputation: 1600

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 should be open. How can I do that?

Upvotes: 7

Views: 22017

Answers (2)

sivi
sivi

Reputation: 11114

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.

Upvotes: 0

Axarydax
Axarydax

Reputation: 16603

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.

Upvotes: 12

Related Questions