Android Programming Test - 1
Description: Android Test 1 | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: Introduction to Android Android |
Developers can build android applications on _________ operating systems.
How many layers does android architecture have?
_________ are not a component of android application.
Which of the following statements is correct about manifest file?
How many sections does android architecture have?
Manifest.xml file resides in
_____________ are not a resource of an android application.
Which of the following tags is not present in manifest file?
Which is the the first callback method when an activity is created?
Which of the following statements is correct about application resources?
Find the odd one out.
Which of the following options is not a correct callback method in an activity class?
Match the following:
(a) Activities | (i) Handle data and database management issues |
(b) Services | (ii) Handle user interaction to smartphone screen and also dictate the UI |
(c) Broadcast receivers | (iii) Handle background processing associated with an application |
(d) Content providers | (iv) Handle communication between android OS and applications |
What is the name of the window where all the event messages will be displayed upon execution of the code from an eclipse IDE?
Match the callback methods in an activity class with their description.
(a) onCreate() | 1. It is called when the first activity is created. |
(b) onStart() | 2. It is called when activity restarts after stopping it. |
(c) onResume() | 3. It is called before the activity is destroyed by the system. |
(d) onPause() | 4. It is called when the activity is no longer visible. |
(e) onStop() | 5. It is called when the activity becomes visible to the user. |
(f) onDestroy() | 6. It is called when the user starts interacting with the application. |
(g) onRestart() | 7. When It is called, the paused activity does not receive any further user input and cannot execute any code. |