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. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.






2. This is the simplest way to monitor device state changes.






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






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






5. Callback method: The activity is no longer visible






6. This is used to convert raw touch events into gestures.






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






8. A service in which programmers can offer their Android application to Android users.






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






10. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.






11. Once installed on a device - each Android application lives in its own ______






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






13. 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.






14. It is used to load images in a background thread - then apply them to the UI once finished.






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






16. Use this to draw bitmaps.






17. 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 _____






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






19. Necessary tools to develop Android applications






20. This is used for the need of finer control over your view's layout parameters.






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






22. An open source stand alone database






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






24. A styleable entity that contains these two custom attributes: showText and labelPosition.






25. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes






26. Converts XML Document to XML DOM






27. ______ are views derived from ViewGroup that provide a unique layout model for its child views






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






29. Use this to draw text.






30. Callback method: The activity is being created.






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






32. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().






33. Conversion of an object to XML






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






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






36. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.






37. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.






38. 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.






39. Sharing of data in Android is done via________






40. Evaluation of registered components






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






42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.






43. 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 ___ .






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






45. An Activity is an application ______ that provides a _______ with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map






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






47. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.






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






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






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