QUESTION 2 (Activity Lifecycle and Task Management) (a) Outline the restrictions that the activity lifecycle places on Android applications and evaluate why the Android operating
QUESTION 2 (Activity Lifecycle and Task Management)
(a) Outline the restrictions that the activity lifecycle places on Android applications and evaluate why the Android operating system implements these restrictions.
(b) Android uses the Android task list to manage all applications. Draw a diagram to show this task list with three applications.
(c) Your new app needs to interrupt the routine Android behaviour via Handlers. Why would you use Handlers in general?
(d) Some handlers are far more important than others, with some replicating existing functionality. In terms of importance, list two handlers, including one essential and one non-essential for the code in part c. State your reasons for either.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started