nerdexam
Android

AND-401 · Question #111

Which of the following is not true about using a WebView in your application?

The correct answer is B. You need to add permission "android.permission.ACCESS_NETWORK_STATE". See the full explanation below for the reasoning.

Question

Which of the following is not true about using a WebView in your application?

Options

  • AYou can retrieve WebSettings with getSettings(), then enable/disable JavaScript
  • BYou need to add permission "android.permission.ACCESS_NETWORK_STATE"
  • CYou use loadURL to load a webpage
  • DYou use loadData to load HTML

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    82% (27)
  • C
    9% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice