Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is to help you practice dealing with HTML/Web content in Android apps. 1. TextView Follow the tutorial to display HTML text on the screen.

This is to help you practice dealing with HTML/Web content in Android apps.

1. TextView

Follow the tutorial to display HTML text on the screen. Take two screenshots from the first two examples.

http://abhiandroid.com/ui/html

2. WebView

Follow the tutorials below to practice using WebView. Take a screenshot of your running app.

Web view: https://www.youtube.com/watch?v=4Fp34mwEhPE

[Bonus] Small project can extend to a full term project.

Build a simple mini browser.

The mini browser has five UI components:

a WebView control to display webpages

a textbox/EditText (address bar for URL)

a button to load/display the URL into the WebView

a spinner to show the last 5 visited websites (history) of the current session.

A user can choose a URL from the spinner (also the textbox will be updated with the chosen URL) and then the webpage will be displayed in the WebView after hitting the button.

Visit some websites to test the app.

You may get more reference at:

https://www.youtube.com/watch?v=8ayK3odtP8M

https://developer.android.com/guide/webapps/webview.html

https://developer.android.com/reference/android/webkit/WebView.html

https://www.androidauthority.com/working-with-webview-736873/

http://abhiandroid.com/createandroidapp/create-html-app

Take a screenshot in Android Studio layout designer (with preview on). Take several more screenshots of the running app in the emulator or actual phone, with results displayed to prove the functionalities work. You need to explain each screenshot. Provide source code in the main Java code file (main_activity).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions