Site icon Exam4Training

Which of the following WebView methods allows you to manually load custom HTML markup?

Which of the following WebView methods allows you to manually load custom HTML markup?
A . loadData
B . loadHTML
C . loadCustomData
D . loadCustomHTML

Answer: A

Explanation:

To load the desired web page from an HTML string:

String summary = "<html><body>You scored <b>192</b> points.</body></html>";

webview.loadData(summary, "text/html", null);

References:

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

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version