What i am trying to do is have a clickable hyperlink in the message displayed by an AlertDialog. My goal is to have an AlertDialog pop up asking if the user will accept or decline the Terms and Conditions similar to the following:
When Clicking on the "Google Play Terms of Service" Hyperlink, I would like to start a new Activity. I have looked on here and I can find how to add a Hyperlink to a website as well as adding hyperlinks for text in a TextView, but i am unable to do this for the AlertDialog. I am looking for either a way to set up the Dialog to have hyperlink text linking to an Activity, or to get the TextView that the message is displayed in (i can manipulate the TextView myself).
I have tried (TextView) getDialog().findViewById(android.R.id.message)
to get the message TextView but this returns null.
Any help would be much appreciated!