5

I want to create a text hyperlink link "Help"

So that when someone clicks on this text an action can be taken on it. Like in my case a new activity will be opened.

Can someone help me how to do this.

Thanks

Rishi
  • 3,499
  • 8
  • 35
  • 54

2 Answers2

3

Refer this:

Android: Launch activity from clickable text

Community
  • 1
  • 1
Udayan
  • 1,374
  • 1
  • 11
  • 20
2

Rishi,

See this answer here: Android Respond To URL in Intent

It shows you how to use <intent-filter> elements in your AndroidManifest to make your App respond to clicks on a particular URL.

Community
  • 1
  • 1
Will Tate
  • 33,439
  • 9
  • 77
  • 71