Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Address Book App > Exercises

Exercises

10.3. Fill in the blanks in each of the following statements:

a. SQLite database query results are managed via a(n) __________ (package android.database).

b. When we need a database operation’s results in the GUI thread, we’ll use a(n) __________ (package android.os) to perform the operation in one thread and receive the results in the GUI thread.

c. Method __________ is called each time an Activity returns to the foreground, including when the Activity is first created.

d. Activity method getIntent returns the Intent that launched the Activity. We use that to call Intent method __________, which returns a Bundle that contains any key–value pairs that were added to the Intent as extras.

e. The Cursor returned by method query contains all the table rows that match the method’s arguments—the so-called __________.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial