O'Reilly logo

Beginning Android, Fifth Edition by Grant Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    10

The Life of an Activity

Up to this point in the book, I have a approached activities in a very practical and tactical way. The examples explored in the earlier chapters introduced activities as the basic UI building blocks, and you’ve seen how the Java code for an activity implements the Android framework and brings to life, through code, selected points in an activity’s lifecycle and the logic to drive your application.

Now that you have a growing understanding of Android, activities, layout. and logic, let’s delve in to the full background on activities, their lifecycle, and all of the common and not-so-common behaviors you should appreciate when building applications. This tour of the deeper fundamentals of activities will help ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required