单项选择题
假设assets目录下有文件结构html/hello.html,用loadUrl()方法将该网页加载至webView时,需传入的参数是()。
A.file:///asset/html/hello.html
B.file:///android_asset/html/hello.html
C.file:///androidasset/hello.html
D.file:///assets/html/hello.html
点击查看答案&解析
相关考题
-
单项选择题
AppWidget窗口小部件时不可以使用下列哪个布局()。
A.FrameLayout
B.LinearLayout
C.TableLayout
D.RelativeLayout -
单项选择题
使用HttpUrlConnection实现移动互联时,设置读取超时属性的方法是()。
A.setTimeout()
B.setReadTimeout()
C.setConnectTimeout()
D.setRequestMethod() -
单项选择题
在AsyncTask中下列哪个方法是负责执行那些很耗时的后台计算工作的()。
A.run
B.execute
C.doInBackground
D.onPostExecute
