I have seen some good answers regarding to my question but none of the solutions is 100% correct. most of the solution says setting hyperlink with custom scheme and setting the same scheme in IntentFilter.
But I am developing a message app, User may send any random text like google.com, yahoo.com, etc. Now I set the property autoLink=true in xml so all google.com's becoming hyperlink and when user clicks on it is opening in web-browser. I want this behavior to be changed, so that when user clicks on any link it should open new webview which in an activity belongs same app.