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. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.






2. Shows the actual amount of memory the application uses






3. This can be used to draw previews of what the camera sensor is picking up.






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






5. It is a lightweight mechanism used to transmit data from a server to a particular app instance.






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






7. The helper method is used to create the final width and height values.






8. Conversion of XML back to an object






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






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






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






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






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






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






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






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






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






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






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






20. An open source stand alone database






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






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






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






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






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






26. To create an activity - you must create a subclass of






27. Callback method: Another activity is taking focus






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






29. This is used to register and de-register your media button event receiver.






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






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






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






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






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






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






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






37. Represents the visual representation of an Android application






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






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






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






41. Use this to draw bitmaps.






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






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






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. For example - a ____ might be a button that initiates an action when the user touches it.






46. It is a free service for sending messages to Android devices.






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






48. To define custom attributes - add this resources to your project.






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






50. This is a readable source of bytes.