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. It is called to invoke the search dialog on older devices.






2. Callback method: The activity is no longer visible






3. Relative to pixels and resolution screen






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






5. Use this to draw bitmaps.






6. This is a readable source of bytes.






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






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






9. This is the simplest way to monitor device state changes.






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






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






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






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






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






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






16. Conversion of XML back to an object






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






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






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






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






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






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






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






24. Sharing of data in Android is done via________






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






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






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






28. Evaluation of registered components






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






30. Android is __________.






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






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






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






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






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






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






37. An open source stand alone database






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






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






40. Direct component call in Android






41. Use this to draw text.






42. Whenever the device is docked or undocked - this action is broadcast.






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






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






45. Callback method: The activity is being created.






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






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






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






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






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