6

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?

Willi Mentzel
  • 27,862
  • 20
  • 113
  • 121
Gaurav Gupta
  • 1,550
  • 4
  • 18
  • 35

2 Answers2

11

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.

Axarydax
  • 16,353
  • 21
  • 92
  • 151
  • 1
    according to this answer - http://stackoverflow.com/questions/368348/internal-hyperlinks-in-a-mms/368500#368500 - MMS message is WAP/WML document, so I believe you can – Axarydax Mar 03 '11 at 09:27
0

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.

sivi
  • 10,654
  • 2
  • 52
  • 51