Reputation: 1600
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
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
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