12. Adding Application Logic

In this chapter, you wire up the screen at the heart of the Have You Read That? application: the game play screen. This screen prompts the user to answer a series of books and stores the resulting score information. Because the screen must display a dynamic series of images and text strings, you will leverage several new View controls, including ImageSwitcher and TextSwitcher controls, to help transition between books in the game. You will also need to update the QuizGameActivity class with game logic and game state information, including the retrieval of batches of new books, as a user progresses through the books.

Numerous intermediate Java topics are referenced in this chapter, including the use of inner classes, ...

Get Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.