I have read the answer “How do I launch a URL in the browser from my Application on Android” but I am still confused.
——>
Basically I have a TextView that will be displaying different names of famous people, and what I want is, to perform a google search in the browser that searches for the text that is currently displayed in the TextView, when the user clicks on the TextView itself.
Thanks.
in onClickListner event write this code: