Exercises

  1. 3.3 Fill in the blanks in each of the following statements:

    1. String literals should be placed in the strings.xml file in the app’s            folder.

    2. Class            of package android.app provides the basic lifecycle methods of an app.

    3. Interface            of package android.text allows you to change the content and markup of text in a GUI.

    4. You implement interface            of package android.widget to respond to the user moving the SeekBar’s thumb.

    5. Android apps have four types of components—activities, services, content providers and           .

    6. Throughout its life an activity can be in one of several states—active (or running), paused or           . The activity transitions between these states in response to various events. ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.