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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






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






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






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






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






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






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






8. Converts XML Document to XML DOM






9. Necessary tools to develop Android applications






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






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






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






13. Android is __________.






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






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






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






17. When a new activity starts - it is pushed onto the ____ and takes user focus.






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






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






20. An open source stand alone database






21. Conversion of an object to XML






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






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






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






25. Conversion of XML back to an object






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






27. ______ are views derived from ViewGroup that provide a unique layout model for its child views






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






29. The visible lifetime of an activity happens between the call to ____ and the call to ______






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






31. Use this to draw text.






32. This is a readable source of bytes.






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






34. Use this to draw bitmaps.






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






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






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






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






39. In order to get a list of accounts on the device - your app needs this permission.






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






41. Where Android is currently primarily developed






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






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






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






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






46. Android request its permission using its ________






47. It is a subclass of PreferenceActivity.






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






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






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