10 Jul 2012

Android Activity LifeCycle Part 1

Activity LifeCycle

It can be manage by implementing call back method.Callback method can be OnCreate, OnStart, OnResume, OnPause, OnStop, OnDestrory.

An Activity can have essentially 3 stages :
  1. Resume
  2. pause
  3. Stop
  • Resume : Activity is in foreground and have user focus.
  • Pause : If an activity has lost focus but it still  visible than it is in Pause state.
  • Stop : An activity is completely observed by another activity.


Amar's Android Tech

No comments:

Post a Comment