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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






2. Shows the actual amount of memory the application uses






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






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






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






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






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






8. Android request its permission using its ________






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






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






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






12. Callback method: The activity is being created.






13. This class is the basis for handling flywheel-style fling gestures.






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






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






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






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






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






19. Use this to draw bitmaps.






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






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






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






23. This action is used in sending text content from one activity to another.






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






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






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






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






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






29. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.






30. Perform background tasks without providing a user interface






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






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






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






34. Callback method: Another activity is taking focus






35. Sharing of data in Android is done via________






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






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






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






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






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






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






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






43. If permissions are missing - the application will get this at runtime.






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






45. Conversion of XML back to an object






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






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






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






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






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