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. This class exposes a number of methods for applications to receive location updates.






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






3. Android request its permission using its ________






4. Once installed on a device - each Android application lives in its own ______






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






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






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






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






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






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






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






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






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






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






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






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






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






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






19. It is a subclass of PreferenceActivity.






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






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






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






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






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






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






26. Perform background tasks without providing a user interface






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






28. An _______ is an application component that provides a screen 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.






29. Converts XML Document to XML DOM






30. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.






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






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






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






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






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






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






37. Callback method: Another activity is taking focus






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






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






40. Callback method: The activity is no longer visible






41. Direct component call in Android






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






43. Shows the actual amount of memory the application uses






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






45. This is set up to animate for the duration of the fling.






46. In order to get a list of accounts on the device - your app needs this permission.






47. This is a readable source of bytes.






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






49. Android is __________.






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