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. It provides a simple way to perform your work outside the main thread.






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






3. This class exposes a number of methods for applications to receive location updates.






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






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






6. A mode where navigation is set up with a spinner widget.






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






8. Perform background tasks without providing a user interface






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






10. It is an HTTP client that is used for applications targeted at Gingerbread and higher.






11. The easiest way to create an authenticator class is to extend this and implement its abstract methods.






12. Represents the visual representation of an Android application






13. This object contains an account name - which for Google accounts is an email address.






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






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






16. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.






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






18. Evaluation of registered components






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






20. Android system uses a special virtual machine to run java based applicatons






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






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






23. Callback method: The activity has become visible.






24. It doesn't currently support the <merge/> tag in the layouts to be inflated.






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. Use this to draw text.






27. Callback method: Another activity is taking focus






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






29. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.






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






31. Conversion of XML back to an object






32. Converts XML Document to XML DOM






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






34. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.






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






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






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






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. ______ are views derived from ViewGroup that provide a unique layout model for its child views






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






41. is run when running Android on the pc






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






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






44. Android request its permission using its ________






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






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






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






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






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






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