open an activity by clicking on text hyperlink in android
I want to create a text hyperlink link "Help"
So开发者_StackOverflow中文版 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
Refer this:
Android: Launch activity from clickable text
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.
精彩评论