Difference between revisions of "Template:Simple Application Activity Lifecycle"
(→Activity Component) |
|||
Line 10: | Line 10: | ||
[[Image:activity_lifecycle.png|500px| ]] | [[Image:activity_lifecycle.png|500px| ]] | ||
+ | |||
+ | Here is a [https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/w11-mobile-android-simple/ sample that illustrates the activity] life cycle. | ||
+ | |||
+ | The steps in building this app and the detailed lifecycle states are defined in the [[how to build a simple Android app]] tutorial |
Revision as of 14:56, 8 March 2011
Main Page · Course Description · Course Topics · Schedule, Students, Teams · Course Resources · Course Projects
Activity Component
One of the application component type is called Activity and provides a screen for the user to interact with.
The activity object could be created from a subclass of the Activity class or one of its subclasses.
Based of the user input on the activity screen, the operating system calls into your class some important methods. The figure from this source illustrates the life cycle of an android activity component.
Here is a sample that illustrates the activity life cycle.
The steps in building this app and the detailed lifecycle states are defined in the how to build a simple Android app tutorial