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. To create an activity - you must create a subclass of






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






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






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






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






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






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






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






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






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






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






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






13. Callback method: The activity is no longer visible






14. Use this to draw text.






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






16. The industry standard way to deal with authentication to third-party services.






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






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






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






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






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






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






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






24. Direct component call in Android






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






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






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






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






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






30. A mode where navigation is set up with a spinner widget.






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






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






33. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.






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






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






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






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






38. This is used for the need of finer control over your view's layout parameters.






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






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






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






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






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






44. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.






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






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






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. The easiest way to create an authenticator class is to extend this and implement its abstract methods.






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






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