What is the name of the class used by Intent to store additional information?
Anonymous Quiz
5%
Parcelable
82%
Bundle
3%
Extra
11%
DataStore
Which of the following is not included in the Android application framework?
Anonymous Quiz
8%
NotificationManager
5%
WindowManager
15%
PackageManager
72%
DialerManager
.Which of these files contains text values that you can use in your application?
Anonymous Quiz
82%
res/values/strings.xml
0%
res/Text.xml
5%
res/layout/Main.xml
13%
AndroidManifest.xml
What does the Android project folder “res/” contain?
Anonymous Quiz
8%
Java Activity classes
0%
Libraries
26%
Java source code
66%
Resource files
👍1
What does this code do?
Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent);
Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent);
Anonymous Quiz
22%
Starts a sub-activity.
0%
Starts a service.
6%
Sends results to another activity.
72%
Starts an activity using an implicit intent.
Which method should you use to start a sub-activity?
Anonymous Quiz
8%
Starts an activity using an implicit intent.
81%
startActivityForResult(Intent intent)
8%
startSubActivity(Intent intent)
3%
startService(Intent intent)
.Which of the following packages does not have classes needed for Android network
connections?
connections?
Anonymous Quiz
11%
startService(Intent intent)
11%
org.apache.http
76%
android.location
3%
.Which of the following tools creates certificates for signing Android applications?
Anonymous Quiz
22%
logcat
68%
keytool
8%
certgen
3%
adb
Which Android permission you should add to allow your application to read the device’s address
book?
book?
Anonymous Quiz
3%
READ_PHONE_STATE
14%
READ_PHONE_CONTACTS
59%
READ_CONTACTS
24%
READ_ADDRESS_DATA
Which of the following methods is called in an Activity when another activity gets into the
foreground?
foreground?
Anonymous Quiz
11%
onStop()
83%
onPause()
3%
onDestroy()
3%
onExit()
Which of the following attributes is used to set an activity screen to landscape orientation?
Anonymous Quiz
11%
screenOrientation=”landscape”
11%
android:ScreenOrientation=“landscape”
74%
android:screenOrientation=”landscape”
3%
screenorientation = landscape
What is not true about the AndroidManifest.xml file?
Anonymous Quiz
57%
It declares the views used within the application.
14%
It declares user permissions the application requires.
3%
It declares application components.
27%
It declares hardware and software features used within the application.
If your application is throwing exception android.content.ActivityNotFoundException, which
of the following could resolve the problem?
of the following could resolve the problem?
Anonymous Quiz
6%
Create a new broadcast receiver
56%
Add the activity to AndroidManifest.xml]
11%
Create a new sub-class of the View class
28%
Create the activity layout
Consider the following code:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent); Which of the following is correct about the code above?
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent); Which of the following is correct about the code above?
Anonymous Quiz
6%
It sends a result to a new Activity in a Bundle.
6%
It will not compile without adding the INTERNET permission the Manifest file.
20%
It starts any activity in the application that has a WebView in its layout.
69%
When it is executed, the system starts an intent resolution process to start the right Activity.
Which of the following Android View sub-classes uses the WebKit rendering engine to
display web pages?
display web pages?
Anonymous Quiz
5%
PageView
3%
MapView
3%
HttpClient
89%
WebView
Which of the following lines of codes adds zoom controls to a WebView?
Anonymous Quiz
92%
webView.getSettings().setBuiltInZoomControls(true);
3%
webView.getZoomSettings().setControls(CONTROLS.enabled);
6%
webView.getSettings().setZoomControls(true);
0%
Zoom controls are included by default in WebViews
Which of the following applies a context menu on a ListView?
Anonymous Quiz
3%
ListView lv = getListView(); lv.registerForContextMenu()
11%
ListView lv= getListView(); registerForContextMenu(lv);
3%
ListView lv = (ListView) findViewById(R.id.list_view_id); registerForContextMenu(lv)
0%
getListView().setConextMenuEnabled(true)
83%
B & C
Which Which of the following does NOT correctly describe interface
android.widget.Adapter?
android.widget.Adapter?
Anonymous Quiz
6%
It provides access to the data items
53%
It provides access to deprecated ListView methods
25%
It is responsible for making a View for each item in the data set.
17%
t is an object that acts as a bridge between a View and underlying data for that view.
.When is the intent resolution process triggered?
Anonymous Quiz
65%
When the system receives an implicit intent to start an activity.
5%
When the system receives an explicit intent to start an activity.
19%
When an explicit intent starts a service.
11%
When the application calls method startAcitivyIntentResolution.
Which of the following applies to the onDraw() method of class View?
Anonymous Quiz
8%
It must be overridden if a customized drawing of a view is required.
3%
It uses the Canvas parameter to draw the border of the activity that contains it.
3%
It takes one parameter of type Canvas.
6%
It takes two parameters: a Canvas and a View.
81%
A & C
What is the location of the APK generated by the build system of Android Studio?
Anonymous Quiz
29%
app/build/apk
5%
app/apks
63%
app/build/outputs/apk
3%
app/intermediates/outputs/apk