Android tutorial - open url android - android app development - android studio - android development tutorial



What is web browser?

 types of browsers in android
  • A web browser is a software application for retrieving, presenting and traversing information resources on the World Wide Web.
  • An information resource is identified by a Uniform Resource Identifier (URI/URL) that may be a web page, image, video or other piece of content.
  • Hyperlinks present in resources enable users easily to navigate their browsers to related resources.
  • Here’s a code snippet to show how to use “android.content.Intent” to open an specify URL in Android’s web browser.
button.setOnClickListener(new OnClickListener() {

	@Override
	public void onClick(View arg0) {

		Intent intent = new Intent(Intent.ACTION_VIEW,
		     Uri.parse("http://www.wikitechy.com"));
		startActivity(intent);

	}

});
click below button to copy the code from android tutorial team

 process view of browsers

Related Searches to open url android