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. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.






2. This is used for the need of finer control over your view's layout parameters.






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






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






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






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






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






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






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






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






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






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






13. It is an efficient and maintainable way to parse XML on Android.






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






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






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






17. Use this to draw text.






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






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






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






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






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






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






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






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






26. Callback method: Another activity is taking focus






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






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






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






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






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






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






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






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






35. Where Android is currently primarily developed






36. Shows the actual amount of memory the application uses






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






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






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






40. Perform background tasks without providing a user interface






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






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






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






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






45. This is a readable source of bytes.






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






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






48. It provides a simple way to perform your work outside the main thread.






49. Callback method: The activity is no longer visible






50. Callback method: The activity has become visible.