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 helper method is used to create the final width and height values.






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






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






4. Conversion of XML back to an object






5. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.






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






7. This is a readable source of bytes.






8. Perform background tasks without providing a user interface






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






10. Represents the visual representation of an Android application






11. 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?






12. Amode where the action bar is set up with tabs for navigation.






13. It is an efficient and maintainable way to parse XML on Android.






14. It is a subclass of PreferenceActivity.






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






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






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






18. It made implementing an effective and user friendly share action in your ActionBar even easier.






19. An _______ is an application component that provides a screen 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.






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






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






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






23. Use this to draw bitmaps.






24. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____






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






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






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






28. This widget as an item in the action bar is the preferred way to provide search in your app.






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






30. This is used to check that you're actually connected to the Internet and what type of connection is in place.






31. Evaluation of registered components






32. Used when a connection is active - allowing the device to transfer data at its highest possible rate.






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






34. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.






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






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






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






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






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






40. Callback method: Another activity is taking focus






41. Relative to pixels and resolution screen






42. Android request its permission using its ________






43. An open source group led by Google






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






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






46. Converts XML Document to XML DOM






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






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






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






50. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.