Changes

Jump to: navigation, search

Template:Simple Application Activity Lifecycle

765 bytes added, 23:59, 8 March 2011
Intents
== Activity Component ==
One of the most important 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 [http://d.android.com/reference/android/app/Activity.html Activity] class or one of its subclasses.
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 Managing the detailed lifecycle states are of an activity is defined in the '''[[how to build a simple Android app]] ''' tutorial. Furthermore learn how to achieve internationalization by understanding [https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/w11-mobile-android-hello-international/ this code]. Try to modify it by adding a new language (yours, if it is different from sample's). == Intents == The activities, services and broadcast receivers are activate through '''intents''' that are instances of the [http://developer.android.com/reference/android/content/Intent.html Intent] object. The Intent is a message defined by a data structure [http://developer.android.com/guide/topics/intents/intents-filters.html holding an abstract description of an operation to be performed] [http://zenit.senecac.on.ca/wiki/index.php/Android_:_Lab Here is an example of an application that illustrates the usage of an Intent].

Navigation menu