Which of the following is a correct Android Manifest statement?
Answer(s): D
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?
Answer(s): B
Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?
Javascript is enabled by default in a WebView
If the web page you plan to load in your WebView use JavaScript, you must enable JavaScript for your WebView.
http://developer.android.com/guide/webapps/webview.html
How to enable JavaScript in WebView?
Answer(s): C
JavaScript is disabled in a WebView by default. You can enable it through the WebSettings attached to your WebView. You can retrieve WebSettings with getSettings(), then enable JavaScript with setJavaScriptEnabled ().For example:WebView myWebView = (WebView) findViewById(R.id.webview); WebSettings webSettings = myWebView.getSettings(); webSettings.setJavaScriptEnabled(true);
Post your Comments and Discuss Android AND-401 exam prep with other Community members: