boumlykmohamed / content-of-a-web-page-located-on-a-url Goto Github PK
View Code? Open in Web Editor NEWCreate an application that retrieves and displays the content of a web page located on a URL. The application displays the following:A field in which the user enters a URL. A field such as a menu or a spinner that allows the user to choose the protocol (HTTP or HTTPS) . A button that executes the task when the user touches it. A scrolling display of the source code of the web page. Use an AsyncTask to retrieve the source code of the web page. If the internet connection is not available when the user presses the button, the app should show the user an appropriate response. For example, the application may display a message such as "Check your internet connection and try again". the following figures showing my app screen, you will find code source on my \emph{\textbf{Github}} repositories