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 helper method is used to create the final width and height values.






2. Sharing of data in Android is done via________






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






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






5. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.






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






7. This widget as an item in the action bar is the preferred way to provide search in your app.






8. An _______ is an application component that provides a screen 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.






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






10. This is an interface which is used to pass image data from the camera hardware to the application.






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






12. Callback method: The activity is about to be destroyed.






13. Conversion of an object to XML






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






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






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






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






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






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






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






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






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






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






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






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






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






27. Shows the actual amount of memory the application uses






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






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






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






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






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






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






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






35. Callback method: The activity is no longer visible






36. is run when running Android on the pc






37. It made implementing an effective and user friendly share action in your ActionBar even easier.






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






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






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






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






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






43. It is a subclass of PreferenceActivity.






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






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






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






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






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






49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.






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