|3||Activities and Intents|
In this chapter you will:
Learn about saving and restoring an
Intents and how they are used with multiple
Become familiar with passing data between
Implement applications that require basic animation
Study Scene transitions.
■ 3.1 Activity Lifecycle
All Android applications comprise at least one
Activity class. In most cases, applications will require the use of several activities. Consider a chess game application that allows opponents to play a game and chat during the game. Such an application, as shown in Figure 3-1, might utilize one activity for chess play and a separate activity ...