Question 26
Which of the following is a correct Android Manifest statement?
- <uses-permission android:name ="android.Internet"/>
- <uses-permission android:name ="android.Internet"></uses-permission>
- <uses-permission android:name ="android.permission.Internet">
- <uses-permission android:name ="android. permission .Internet"/>
Question 27
Which of the following is true about attribute android:windowSoftInputMode of the tag in file AndroidManifest.xml?
- It specifies whether the window is in full screen or not
- It adjusts how the main window of the activity interacts with keyboard
- It adjusts how the window should be launched
- It adjusts the window orientation
Question 28
Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?
- DDMS
- Logcat
- Console
- ADB
Question 29
Javascript is enabled by default in a WebView
- True
- False
Question 30
How to enable JavaScript in WebView?
- myWebView. setJavaScriptEnabled(true);
- myWebView.getJavaScriptSettings.setEnabled(true)
- myWebView.getSettings().setJavaScriptEnabled(true);
- Java script is always enabled in WebView