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 ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.