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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.






2. An open source stand alone database






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






4. is run when running Android on the pc






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






6. Perform background tasks without providing a user interface






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






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






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






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






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






12. Are used in activities to create the user interface and to interact with the user.






13. Callback method: The activity is being created.






14. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.






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






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






17. Use this to draw bitmaps.






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






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






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






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






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






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






24. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.






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






26. Direct component call in Android






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






28. Theseare a key part of Android applications that directly affect the user experience.






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






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






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






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






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






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






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






36. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.






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






38. Callback method: The activity has become visible.






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






40. This is a readable source of bytes.






41. Callback method: Another activity is taking focus






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






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






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






45. Relative to pixels and resolution screen






46. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.






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






48. Conversion of XML back to an object






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






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