Android App Development Test - 2
Description: Android App Development Test-2 | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: Android App Development Test-2 Android |
Android 2.3 introduced a new developer tool called __________. This tool detects disk or network operations occurring on the main thread and takes action to warn the developer.
What is the purpose of Handler class in android?
The _________ class creates and manages a MessageQueue object that holds all messages for a thread.
The looper class creates and manages a______________ object that holds all messages for a thread.
Which of the following is not a valid screen pixel density?
Which of the following is the correct way to declare StrictMode that detects all types of networks and disk I/O?
How can we create a method that checks for messages in the message queue?
In contrast to ________, android doesn’t know the size, screen resolution or aspect ratio of the devices they run on.
How many types of screen sizes are there in the configuration option of android?
Which of the following is not a Android dimension units?
Which of the following statement is/are correct? A. dip is an abstract unit representing a single pixel on a device with a resolution of 160 dpi. B. pt unit are the 1/75 of the physical screen size.
Which of the following classes can be extended to create a simple thread to perform background tasks and publish the results on the UI thread?
Which of the following codes will record the current system time and send a message to the handler starting the timer and remove any existing message before sending the next one?
Which of the following classes is useful in a situation like downloading new posts from Twitter and then loading those posts into a timeline?
List the point which makes your app compatible with majority of the devices: A. Always use dip unit in your layout. B. Use wrap_content and match_parent whenever possible. C. Provide alternative image resources for each density . D. Use 9-patch graphics for any resources. E. Always use sp unit in your layout.