O'Reilly logo

Android User Interface Development by Jason Morris

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 4. Leveraging Activities and Intents

In many ways Android application management appears to be inspired by JavaScript and the web browser and rightly so! The web browser model has proved itself as a mechanism that users find easy to work with. Android as a system, Android has many things in common with a web browser, some of which are obvious, and others that you will need to look a little deeper for.

The Activity Stack is much like a single-directional web browser history. When you launch an Activity using the startActivity method, you effectively hand control back to the Android system. When the user pushes the hardware "Back" button on their phone, the default action is to pop the top Activity off the stack, and display the one underneath ...

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