Test your basic knowledge |

Android Programming

Subject : it-skills
  • 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. An intermediate state that uses around 50% of the battery power at the full state.

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

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

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

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

6. Where Android is currently primarily developed

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

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

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

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

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

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

13. Allow to combine loosely coupled components to perform certain tasks

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

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

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

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

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

19. Conversion of XML back to an object

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

21. This is a readable source of bytes.

22. It is a subclass of PreferenceActivity.

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

24. Callback method: The activity is being created.

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

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

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

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

29. Shows the actual amount of memory the application uses

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

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

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

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

34. Use this to draw bitmaps.

35. Evaluation of registered components

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

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

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

39. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.

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

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

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

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

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

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

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

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

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

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

50. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.