To open a url using Intent, first create a button on the layout. And set the onClickListener on the button and open the browser using implicit Intent, like below:-
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);
0 Comment(s)