Note

When deciding whether an activity should be shut down, Android takes into account several factors, such as user input, memory usage, and processing time.

Some of the specific methods called during the life cycle of an android activity are

• Process-specific events (for example: launching activities or accessing a database)

Following the same logic as other application life cycles, an Android application is created, the processes are started, events are fired, processes are stopped, and the application is destroyed. Though there are a few differences, many application developers should be comfortable with the steps in the life cycle.

Q: Does Google ever update the Android SDK?

A: Yes. From the time I started writing this book, Google had already updated the Android SDK three times. Google will post the updates to the Android website as they are available.

Q: Do any of the API Demos represent applications that will be in the finished product?

A: Probably not. The API Demos were created to show off the capabilities of the product. Although there may be core "release" applications that contain some of the elements found in the API Demos, we probably will not see Lunar Lander in the finished version.

This page intentionally left blank unapterv^

0 0

Post a comment