Skip to Content
Mobile DevOps
book

Mobile DevOps

by Rohin Tak, Jhalak Modi
March 2018
Intermediate to advanced content levelIntermediate to advanced
376 pages
7h 25m
English
Packt Publishing
Content preview from Mobile DevOps

Activity life cycle

The Activity life cycle is usually defined by a list of methods inside the Activity class that provide us with ways to control the state of an activity. This allows developers to handle activities within an Android application.

Let's have a look at the different states of an Activity:

These states can be broken into four main groups as follows:

  • Running: Activities are called active or running if they are in the foreground, also known as the top of the activity stack. This is known to be the highest priority activity in Android and will only be killed by the OS in extreme situations, such as if the activity tries to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese
Java Security

Java Security

Scott Oaks

Publisher Resources

ISBN: 9781788296243Supplemental Content