Question 1
What method you should override to use Android menu system?
- onCreateOptionsMenu()
- onCreateMenu()
- onMenuCreated()
- onCreateContextMenu()
Question 2
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
- findViewByReference(int id);
- findViewById(int id)
- retrieveResourceById(int id)
- findViewById(String id)
Question 3
Which of the following is not an Android component (i.e. a point from which the system can enter your application)?
- Service
- Activity
- Layout
- Content Provider
Question 4
During an Activity life-cycle, what is the first callback method invoked by the system?
- onStop()
- onStart()
- onCreate()
- onRestore()
Question 5
Which configuration file holds the permission to use the internet?
- Layout file
- Property file
- Java source file
- Manifest file