Android WebView example Tutorial


WebView allows you to open an own windows for viewing URL or custom html markup page.

Perform a simple unpacking of tahasivaci.com. First of all in Activity we drag and drop a webView from the palette.

Layout

  • File:res/layout/activity_main

MainActivity

  • You can enter any site you want to see in url

AndroidManifest




  • Do not forget to add the INTERNET permission to the manifest file

  • I show you the location where you will add more details

 

Run Code

 

if you have question do not forget to write from the chat button next to it or from the comment




You may also like...

Leave a Reply

Your email address will not be published.