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 ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().






2. Direct component call in Android






3. Converts XML Document to XML DOM






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






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






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






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






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






9. Relative to pixels and resolution screen






10. Callback method: The activity is no longer visible






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






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






13. Android request its permission using its ________






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






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






16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.






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






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






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






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






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






22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.






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






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






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






26. Use this to draw bitmaps.






27. The minimal energy state during which no network connection is active or required.






28. Android is __________.






29. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.






30. Callback method: Another activity is taking focus






31. To define custom attributes - add this resources to your project.






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






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






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






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






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






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






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






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






40. Necessary tools to develop Android applications






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






42. is run when running Android on the pc






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






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






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






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






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






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






49. Perform background tasks without providing a user interface






50. Sharing of data in Android is done via________