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. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.






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






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






4. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?






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






6. Android provides this handy method to direct volume key presses to the audio stream the user specify.






7. It is a subclass of PreferenceActivity.






8. Use this to draw bitmaps.






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






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






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






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






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






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






15. is run when running Android on the pc






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






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






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






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






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






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






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






23. Callback method: The activity has become visible.






24. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).






25. An intermediate state that uses around 50% of the battery power at the full state.






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






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






28. Android is __________.






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






30. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.






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






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






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






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






35. Conversion of XML back to an object






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. It is an HTTP client that is used for applications targeted at Gingerbread and higher.






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






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






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






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






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






43. On a rooted device - the credentials would be readable by anyone with this access to the device.






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






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






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






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






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






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






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