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 made implementing an effective and user friendly share action in your ActionBar even easier.






2. Callback method: The activity is being created.






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






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






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






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






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






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






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






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






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






12. Perform background tasks without providing a user interface






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






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






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






16. An open source stand alone database






17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .






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






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






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






21. Conversion of XML back to an object






22. Callback method: The activity has become visible.






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






24. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes






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






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






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






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






29. Shows the actual amount of memory the application uses






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






31. It is a subclass of PreferenceActivity.






32. This class is the basis for handling flywheel-style fling gestures.






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






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






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






36. Are used in activities to create the user interface and to interact with the user.






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






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






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






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






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






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






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






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






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






46. This is the most common input event in the Android system.






47. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.






48. Android request its permission using its ________






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






50. Callback method: The activity is no longer visible