Improve your coding skills from beginner to expert with the largest online Java e-learning platform

Going Further with Android

Module 2
  • This course continues from our Introduction to Android. You'll find out how to deal with the very tricky problems posed by rotating devices, and what happens if your App is sent to the background.
  • You'll also discover how to implement background tasks - the Android equivalent of threading.

Pre-requisites

We start this module where the last module left off - if you already know some Android, a starting workspace is provided.

Contents - This course will take about a day to complete.

 

Having problems? check the errata for this course.

1

Activity Lifecycles Part 1 Preview
23m 13s
How to preserve the state of your App when the device is rotated.

2

Activity Lifecycles Part 2 Watch
36m 0s
How to deal with interruptions to your App, such as an incoming phone call.

3

Introducing Fragments Watch
41m 25s
Fragments are reusable groups of views, useful for creating different layouts and screen sizes.

4

Layouts and Multiple Fragments Watch
35m 24s
In this chapter we create an alternative layout targeted to different screen sizes and orientations, understand some of the layout schemas provided by Android, and re-use our fragments. We'll also see nested fragments in use. Updated September 2018 - please see the errata for this chapter

5

Fragment Lifecycles Watch
9m 57s
We'll review the lifecycle methods of fragments in this chapter, and understand why you shouldn't store the application's state in fragments. There's also a small exercise to complete the main functionality within our quiz application.

6

The Backstack and Transactions Watch
37m 11s
In this chapter we learn how to override the default "back button" functionality using the backstack with transactions.

7

Background Processing Watch
31m 53s
How to make code run on a separate thread, so that it continues running when our app is in the background, and how we can receive notifications from this thread to any of the activities in the application.

Let the Course Come to You

About Us Contact Privacy T&Cs
Facebook Twitter YouTube LinkedIn