Difference between revisions of "Template:Simple Application Activity Lifecycle"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Ecl_menu}}
+
{{Ecl_menu}} __NOTOC__
 +
 
 +
== Activity Component ==
  
 
One of the application component type is called '''Activity''' and  provides a screen for the user to interact with.
 
One of the application component type is called '''Activity''' and  provides a screen for the user to interact with.
Line 6: Line 8:
  
 
Based of the user input on the activity screen, the operating system calls into your class some important methods. The figure from [http://d.android.com/guide/topics/fundamentals/activities.html this source] illustrates the life cycle of an android activity component.
 
Based of the user input on the activity screen, the operating system calls into your class some important methods. The figure from [http://d.android.com/guide/topics/fundamentals/activities.html this source] illustrates the life cycle of an android activity component.
 +
 +
[[Image:activity_lifecycle.png|500px| ]]

Revision as of 14:48, 8 March 2011

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.

Activity lifecycle.png