load html code in webview android studio

Hello Guys. Welcome to our new tutorial of load HTML code in webview android studio.

please follow the code given below to load HTML code in webview in android.

  • First Create a new project in Android Studio
  • File ⇒ New Android ⇒ Application Project
  • Then Open src -> package -> MainActivity.java and then add following code :

JAVA (MainActivity.java)

 

XML (activity_main.xml)

Leave a Reply

Your email address will not be published.