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. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.






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






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






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






5. Callback method: The activity has become visible.






6. Sharing of data in Android is done via________






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






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






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. The most common way to define a layout using views is with an XML layout file saved in your ______






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






12. An Activity is an application ______ that provides a _______ with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map






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






14. An open source group led by Google






15. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






16. An open source stand alone database






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






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






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






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






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






22. It is used to load images in a background thread - then apply them to the UI once finished.






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






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






25. This is a readable source of bytes.






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






27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.






28. Converts XML Document to XML DOM






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






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






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






32. It is a string that defines the specific type of access your app is asking for.






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






34. Android request its permission using its ________






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






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






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






38. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.






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






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






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






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






43. Where Android is currently primarily developed






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






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






46. Android system uses a special virtual machine to run java based applicatons






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






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






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






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