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. Callback method: The activity is no longer visible.






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






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






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






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






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






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






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






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






10. Callback method: The activity is no longer visible






11. Shows the actual amount of memory the application uses






12. An open source group led by Google






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






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






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






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






17. Android is __________.






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






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






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






21. Callback method: Another activity is taking focus






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. This is the main class through which your application can access location services on Android.






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






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






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






27. is run when running Android on the pc






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






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






30. This is used to convert raw touch events into gestures.






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






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






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






34. Callback method: The activity is being created.






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






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






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






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






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






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






41. Use this to draw bitmaps.






42. Use this to draw text.






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






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






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






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






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






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






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






50. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?