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. This is used to register and de-register your media button event receiver.






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






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






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






5. It is a set of rules for encoding documents in machine-readable form.






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






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






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






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






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






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






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






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






14. Use this to draw text.






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






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






17. A service in which programmers can offer their Android application to Android users.






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






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






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






21. Callback method: The activity is no longer visible






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






23. It inform the system what intents an application component is willing to accept.






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






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






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






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






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






29. Use this to draw bitmaps.






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






31. Amode where the action bar is set up with tabs for navigation.






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






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






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






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






36. is run when running Android on the pc






37. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.






38. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .






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






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






41. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.






42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.






43. Converts XML Document to XML DOM






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






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






46. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.






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






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






49. Sharing of data in Android is done via________






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