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. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____






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






3. An open source group led by Google






4. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().






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






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






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






8. Are used in activities to create the user interface and to interact with the user.






9. Direct component call in Android






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






11. Callback method: Another activity is taking focus






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






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






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






15. This handles cases like flaky mobile networks - airplane mode - and restricted background data.






16. This is a readable source of bytes.






17. Callback method: The activity has become visible.






18. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.






19. Callback method: The activity is no longer visible.






20. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).






21. It is a subclass of PreferenceActivity.






22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.






23. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






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






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






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






27. Evaluation of registered components






28. It is a string that defines the specific type of access your app is asking for.






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






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






31. Conversion of XML back to an object






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






33. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.






34. These helpers are specialized classes for backing up certain kinds of data.






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






36. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.






37. It is a set of rules for encoding documents in machine-readable form.






38. It inform the system what intents an application component is willing to accept.






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






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






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






42. In most cases this will offer greater bandwidth at a significantly lower battery cost.






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






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






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






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






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






48. Callback method: The activity is no longer visible






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






50. This includes tools to help you identify problems in your layout performance.