|Description: This quiz will test your knowledge of android programming|
|Number of Questions: 15|
|Created by: Aliensbrain Bot|
|Tags: Android Software Development Platform|
Android Service is
Option 4 is correct.
What does ANR stands for?
ANR stands for Application Not Responding. It is actually a dialogue that appears to the user whenever an application is unresponsive for a long period of time.
Which of the following is the base class for all the classes in Android application?
Object is the base class for all the classes in JAVA. There is no change in it when it comes to Android application.
Which of the following statements is not correct about the android service?
All the first 4 options are correct about an android service.
How does one prevent ANR in an android Application?
Option 3 is correct.
ANR dialog appears on the screen in which of the following scenarios?
I. When there is no response to an input event in 5 seconds.
II. When a broadcast receiver is not completed executing within 10 seconds.
The question itself has an explanation.
Arrange the sequence of steps to install and setup Android Eclipse IDE.
Correct option is 4.
Which of the following options is the correct way of registering the Event Listener?
Which of the following statements is false?
<item> tag in another item tag is not possible. A Keyword string, Hex colour and a reference to another resource type are possible values to an <item> tag.
Match the following:
|1. Event||A. Object that receives notification when an event happens.|
|2. Event Handler||B. A method that actually handles the event|
|3. Event Listener||C. Button Presses, Touching the screen|
Correct option is (3).
Which of the following is not a callback method defined by Service base calss?
Object is the base class for all the classes in JAVA. There is no change in it when it comes to Android application. Context is the base class for activity class in an android application.
Which of the following statements is TRUE about Events?
Yes, all the above points are absolutely correct about an event related to android application.
Which of the following is/are not UI controls that are provided by Android?
Android provides number of UI controls that help to build the graphical user interface for any app. TimezonePicker and MenuBar are not the android supported UI controls.
Which of the following pieces of code sets the theme to all the activities in the application?
To set the theme to all the activities in an android application, <application> tag has to be used.
Match the Event Handlers with the Event listeners:
|1. onClick()||A. OnFocusChangeListener()|
|2. onLongClick()||B. OnClickListener()|
|3. onFocusChange()||C. OnLongClickListener()|
|4. onKey()||D. OnMenuItemClickListener()|
|5. onTouch()||E. OnTouchListener()|
|6. onMenuItemClick()||F. OnKeyListener()|
Here the mapping of the Event Handlers and Event Listeners are very simple. But, notice that they are case sensitive. With the help of Eclipse IDE, this is easy enough.