What method you should override to use Android menu system?
Correct Answer:
A
🗳️
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback).
References:
http://developer.android.com/guide/topics/ui/menus.html
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
Correct Answer:
B
🗳️
The findViewById(int id) method looks for a child view with the given id.
References:
http://developer.android.com/reference/android/view/View.html
Which of the following is not an Android component (i.e. a point from which the system can enter your application)?
Correct Answer:
C
🗳️
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.
References:
http://developer.android.com/guide/components/fundamentals.html
During an Activity life-cycle, what is the first callback method invoked by the system?
Correct Answer:
C
🗳️
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
Which configuration file holds the permission to use the internet?
Correct Answer:
D
🗳️
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study