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. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.






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






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






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






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






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






7. Sharing of data in Android is done via________






8. Perform background tasks without providing a user interface






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






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






11. This object contains an account name - which for Google accounts is an email address.






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






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






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






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






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






17. Most network-connected Android apps use this to send and receive data.






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






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






20. Use this to draw text.






21. It is a subclass of PreferenceActivity.






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






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






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






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






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






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






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






29. Converts XML Document to XML DOM






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






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






32. An open source stand alone database






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






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






35. Conversion of XML back to an object






36. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes






37. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.






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






39. Conversion of an object to XML






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






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






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






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






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






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






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






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






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






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






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