O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

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

Understanding Android activities

In this recipe, we will focus on understanding Android activities with short and focused examples.

How to do it...

  1. Open any Android application you find on the store, for example, Mindup (https://play.google.com/store/apps/details?id=io.mindup.mindup&hl=en).
  2. Use the menu to change the page.
  3. Press the Return button of your phone, which will redirect you to the first screen you were at.
  4. Use the burger button of your phone; you'll be redirected to the home screen of your phone.
  5. Use the burger button again and return to the application. You'll find the application as it was before you left.

This simple and expected behavior is induced and monitored by Android activities, which are the building blocks of any Android application. ...

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