Test your basic knowledge |

Android Programming

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.






2. It typically consumes more energy than 3G - which is in turn more expensive than 2G.






3. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.






4. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.






5. Callback method: The activity is about to be destroyed.






6. The visible lifetime of an activity happens between the call to ____ and the call to ______






7. Evaluation of registered components






8. This is set up to animate for the duration of the fling.






9. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.






10. It is available starting with API Level 14 and higher.






11. In order to get a list of accounts on the device - your app needs this permission.






12. This class computes scroll positions for you - but it does not automatically apply those positions to your view.






13. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .






14. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?






15. The minimal energy state during which no network connection is active or required.






16. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________






17. Use this to draw text.






18. Most network-connected Android apps use this to send and receive data.






19. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.






20. The dock-state details are included as an extra in a sticky broadcast of this action.






21. It is called to invoke the search dialog on older devices.






22. This class is the basis for handling flywheel-style fling gestures.






23. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.






24. This is the main class through which your application can access location services on Android.






25. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.






26. When a new activity starts - it is pushed onto the ____ and takes user focus.






27. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.






28. Callback method: Another activity is taking focus






29. Callback method: The activity is being created.






30. For example - a ____ might be a button that initiates an action when the user touches it.






31. Allow to combine loosely coupled components to perform certain tasks






32. You can set the layout as the UI for your activity with passing the resource ID for the layout.






33. is run when running Android on the pc






34. This is the most common input event in the Android system.






35. Represents the visual representation of an Android application






36. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____






37. This class provides one of the simplest ways to fire off a new task from the UI thread.






38. This broadcasts an action whenever the device is connected or disconnected from power.






39. The most common way to define a layout using views is with an XML layout file saved in your ______






40. This is used to fetch the account names that the user has stored on their device.






41. Whenever the device is docked or undocked - this action is broadcast.






42. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.






43. This is an interface which is used to pass image data from the camera hardware to the application.






44. Callback method: The activity has become visible.






45. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.






46. Perform background tasks without providing a user interface






47. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable






48. It is a subclass of PreferenceActivity.






49. The entire lifetime of an activity happens between the call to _____ and the call to _____






50. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .