What is a correct statement about an XML layout file?
Anonymous Quiz
6%
A layout PNG image file.
9%
A file that contains a single activity widget.
11%
A file that contains all application permission information.
74%
.A file used to draw the content of an Activity.
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
8%
Create a new broadcast receiver
73%
Add the activity to AndroidManifest.xml]
6%
Create a new sub-class of the View class
14%
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
12%
It sends a result to a new Activity in a Bundle.
12%
It will not compile without adding the INTERNET permission the Manifest file.
19%
It starts any activity in the application that has a WebView in its layout.
57%
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
12%
PageView
10%
MapView
5%
HttpClient
74%
WebView
Which of the following lines of codes adds zoom controls to a WebView?
Anonymous Quiz
60%
webView.getSettings().setBuiltInZoomControls(true);
9%
webView.getZoomSettings().setControls(CONTROLS.enabled);
19%
webView.getSettings().setZoomControls(true);
12%
Zoom controls are included by default in WebViews
Which of the following applies a context menu on a ListView?
Anonymous Quiz
2%
ListView lv = getListView(); lv.registerForContextMenu()
5%
ListView lv= getListView(); registerForContextMenu(lv);
12%
ListView lv = (ListView) findViewById(R.id.list_view_id); registerForContextMenu(lv)
12%
getListView().setConextMenuEnabled(true)
69%
B & C
Which of the following is NOT true about the R.java file?
Anonymous Quiz
16%
It is auto-generated during the build of the project.
5%
It is used by developers to access any resource through an ID.
64%
It can be modified manually to change the ID of a resource.
16%
It contains resource IDs for all resources in your /res/ folder.
When building for ios flutter is restricted to an _____ compilation strategy
Anonymous Quiz
15%
JIT
5%
Transaction
5%
Recompiling
76%
AOT(Ahead—Of—Time)
Access to a cloud database through flutter is available through which service?
Anonymous Quiz
14%
NOSQL
0%
SQL
2%
MYSQL
84%
FireBase database
For repeating content in flutter, which widget would you use?
Anonymous Quiz
10%
View
10%
Expanded View
5%
Stack
2%
Array View
74%
ListView
What method you should override to use ANDROID menu system?
Anonymous Quiz
71%
onCreateOptionsMenu()
17%
onCreate()
7%
onMenuCreated
5%
Not one of above
What activity method you use to retrieve a reference to an android view by using the ID attribute of a resource XML?
Anonymous Quiz
10%
findViewByReference(int id)
80%
findViewById(int id)
5%
All of above
5%
Not one of above
During the activity lifecycle what is the first callback method invoked by the system
Anonymous Quiz
5%
onStop()
0%
onStart()
93%
onCreate()
2%
onFreeze()
Which configuration file holds the permission to use the internet?
Anonymous Quiz
8%
XML
5%
Java
3%
Resources
85%
Manifest
Which of the following is not a valid android resource file name
Anonymous Quiz
7%
mylayout.xml
81%
myLayout.xml
7%
my_layout.xml
5%
All of above
The xml layout file is a file used to draw the content of an activity
Anonymous Quiz
93%
True
7%
False
The src folder contains
Anonymous Quiz
5%
Icons and images
10%
XML files
2%
Manifest file
76%
Java source code files
7%
All of above
The class used by intent to store additional information
Anonymous Quiz
3%
Extra
0%
Extras
13%
Datastore
85%
Bundle